private static void displayErrorString(String reply) { JOptionPane.showMessageDialog(null, reply, reply, JOptionPane.ERROR_MESSAGE); }
private void displayErrorString(String reply) { JOptionPane.showMessageDialog(parentComponent, reply, reply, JOptionPane.ERROR_MESSAGE); }
    private static void displayErrorString(String reply) {	JOptionPane.showMessageDialog(null, reply, reply, 				      JOptionPane.ERROR_MESSAGE);    }    