hi ..
I want to display an error if the user didn't enter the id or the password in the Text fild.. but nothing happed when I compare it to null .. or to "" .. is there any way to do this? I also tried to compare it with constant .. but it did work as well .. any suggestions?? this is what I have..
if ( (userID.getString() == null ) || (userPW.getString() == null))
{
System.out.println("Missing required information");
doAlarm();
}