Jump to content

zestation

Members
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About zestation

  • Rank
    Newbie
  1. GUI not launching

    Issue has been resolved thanks.
  2. GUI not launching

    I'm relatively new to java, and I've been working on a gui. Now when I run my code instead of opening the gui window I get this message in my console: java.lang.NumberFormatException: empty Stringat sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)at java.lang.Double.parseDouble(Unknown Source)at package.PartA.initialize(PartA.java:215)at package.PartA.<init>(PartA.java:58)at package.PartA$1.run(PartA.java:45)at java.awt.event.InvocationEvent.dispatch(Unknown Source)at java.awt.EventQueue.dispatchEvent(Unknown Source)at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)at java.awt.EventDispatchThread.pumpEvents(Unknown Source)at java.awt.EventDispatchThread.pumpEvents(Unknown Source)at java.awt.EventDispatchThread.run(Unknown Source) Also I've narrowed it down to it being something to do with these 3 lines: dFP = Double.parseDouble(jTextFieldFP.getText());dFAP =Double.parseDouble(jTextFAP.getText());dFDD =Double.parseDouble(jTextFDD.getText()); Please see if it's something simple I've just overlooked! Thank you!
×