stephenbruceburch
Technical User
I am having a problem and I believe this is where it lies. The program allows the user to identify an item by either its id or its location. I thought the easiest way to accomplish this was to just have both text fields in the panel and when the submit button was pressed check to see which was blank. that's where I'm having the problem (i think!)
I have tried these diffrent ways:
if (textField.getText() == null)
if (textField.getText() == " "
if (textField.getText() == ""
Any help would be appreciated
I have tried these diffrent ways:
if (textField.getText() == null)
if (textField.getText() == " "
if (textField.getText() == ""
Any help would be appreciated