public class DilberMain { /** Creates a new instance of DilberMain */ public static void main(final String[] args) { //String DNA="",fileName,source; int hs,win; String[] inputs; inputs = new String[5]; win = Integer.parseInt(JOptionPane.showInputDialog("Enter the size of the window")); hs = Integer.parseInt(JOptionPane.showInputDialog("Enter the size of the hash table")); SequenceHasher sh = new SequenceHasher(hs); for(int x=0; x < 5; x++) { fileName = JOptionPane.showInputDialog("Enter the DNA sequences file"); Scanner fileIn = new Scanner(new File(fileName)); try { inputs[x] = inputs[x]+fileIn.nextLine(); } } } catch(FileNotFoundException e){ System.out.println(e); } }