Eclipse JFrame empty textField error : I'm working on eclipse JFrame and my purpose is calculating regression analysis with 26 variables x and y.But i have a problem with textField. For example; if the user have 10 variables x and y after enter the values the other textFields remains blank because of this frame gives an error like // Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: "" // how can ı fix it ? thanks