I'm a Java newbie and have tried the following code in both VisualAge and Visual Cafe:
if (TextField1.getText() = null) //also tried if == ""
then do something...
Although there is no text in the textfield, the above code
acts as though it is false and won't 'do something...'
What is the proper syntax to find out if a textfield is blank?