Ask your own question, for FREE!
Computer Science 81 Online
OpenStudy (anonymous):

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.(BankPanel.java:88) at BankPanel$ButtonListener.(BankPanel.java:86) at BankPanel.(BankPanel.java:56) at BankGUI.main(BankGUI.java:19) ----jGRASP wedge: exit code for process is 1. thanks http://pastebin.com/embed_js.php?i=w0bAnrrR

OpenStudy (anonymous):

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());

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!