posted 12 years ago
hi...
i have a jTextField named pIdTextField on a JFrame along with a button named btnSave . i want that when pIdTextField is blank... then it should show a message Saving. i have tried in the code below...
but when ever i click the btnSave button .... it always displays the message as Updating. . it never show the message as Saving.. i have tried "" instead null in the if condition .. but it doesn't show "Saving."
please help me... waiting for your kind response.