The code below keeps giving a java.lang.NumberFormatException: empty String:
java.lang.NumberFormatException: empty String
private void jButton4ActionPerformed(java.awt.event.ActionEvent evt
The string you're trying to parse as double is empty. You need to check if the getText() method returns a non empty string before trying to do the parsing cause you can't parse to double an empty string.