private void finFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_finFieldActionPerformed
        // TODO add your handling code here:
        String OneLine;
        String word;
        int occurrences;
        int lines = 0;
        int i, j;
        StringTokenizer strtok;
        HashTable ht = new HashTable();
        try
        {
            System.out.println(finField.getText());
            FileInputStream instream = new FileInputStream(finField.getText());
            DataInputStream DataFile = new DataInputStream(instream);

            while((OneLine = (String)DataFile.readLine()) != null)
            {
                ht.setCurrentLine(++lines);
                strtok = new StringTokenizer(OneLine);
                while (strtok.hasMoreTokens())
                {
                    ht.insert(strtok.nextToken());
                }
                
            }//while
            instream.close();
        }//try
        catch (Exception e)
        {System.out.println("Error");}
        
        for(i = 0; i < ht.getDictionary().length; i++)
        {
            if (ht.getDictionary()[i].getWord()!=null)
            {
                word = ht.getDictionary()[i].getWord();
                occurrences = ht.getDictionary()[i].getLines().getCount();
                concordanceTA.append("\n" + word + " - Occurrences: " + occurrences + "Lines:" + ht.getDictionary()[i].getLines().display());
            }
        }
    }//GEN-LAST:event_finFieldActionPerformed