JOptionPane.showMessageDialog(null, new String[] {"Error load fuzz strings!", ioe.getMessage() }, "Error", JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(null, new String[] {"Error loading fuzz strings!", ioe.getMessage() }, "Error", JOptionPane.ERROR_MESSAGE);
    private void loadButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_loadButtonActionPerformed        try {            String description = descriptionTextField.getText();            if (description.equals("")) {                JOptionPane.showMessageDialog(null, new String[] {"Description cannot be empty", }, "Error", JOptionPane.ERROR_MESSAGE);                return;            }            File file = new File(fileNameTextField.getText());            if (file.isDirectory()) {                JOptionPane.showMessageDialog(null, new String[] {file.toString() + " is a directory", }, "Error", JOptionPane.ERROR_MESSAGE);                return;            }            _fuzzFactory.loadFuzzStrings(description, file);        } catch (IOException ioe) {            JOptionPane.showMessageDialog(null, new String[] {"Error load fuzz strings!", ioe.getMessage() }, "Error", JOptionPane.ERROR_MESSAGE);        }    }//GEN-LAST:event_loadButtonActionPerformed