title: Empty JTextField User Input Error
body: <p>I'm am trying to create a program that takes user input through a JTextField and converts it to an Integer for me to calculate with. I want to prevent breaking the program by typing nothing into the JTextField.
  How can I detect when the JTextField is empty?
  Daniel</p>