== null;

? does that not work?

I looked using Google and I found this as well,
jtextfield.getText().trim().length() >=0

unfortunately I don't know much about GUI form methods, so i don't...