Help guys my gui is not running it compiles but not run
----jGRASP exec: java BankGUI
Exception in thread "main" java.lang.NumberFormatException: empty String
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1012)
at java.lang.Double.parseDouble(Double.java:527)
at BankPanel$ButtonListener.
I am not sure but I think problem is there, you enter some string which can't be converted to double if it's true you should catch this exception double amt = Double.parseDouble( aDepWithTextField.getText() ); double balance = Double.parseDouble( aBalanceTextField.getText());
Join our real-time social learning platform and learn together with your friends!