When I try to add the string argument I keep getting the error:
errorMessage(java.lang.String) in ProjectFile cannot be applied to ()
This is kind of urgent, so any help would be greatly appreciatedCode:public static void errorMessage(String defineError) { JOptionPane.showMessageDialog(null, "There is an error in the account file!\n" + "Please contact your branch to resolve this problem." + defineError, "Banking Error:", JOptionPane.ERROR_MESSAGE); System.exit(1); }![]()




Reply With Quote