Article View: borland.public.jbuilder.java.swing
Article #10587jtextfield problem
From: raj
Date: Sat, 28 Aug 1999 00:00
Date: Sat, 28 Aug 1999 00:00
20 lines
984 bytes
984 bytes
hi i have a jtextfield and a submit button if the jtextfield is left blank, and the submit button is hit, then it should pop up a message box indicating "blank field" now my question is how to check if the jtextfield is blank i m trying if(jtextfield.getText() == "") but its not working can anyone please help me out thanx raj -----------------** -- Posted from CodeGuru -- **----------------- http://www.codeguru.com/java The website for Java programmers.
Technical Details
Message-ID:
<37c88258.0@209.66.99.126>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,6c48425efbd7acbe,start X-Google-Attributes: gid111d45,public From: "raj" <rahulgulati@hotmail.com> Subject: jtextfield problem Date: 1999/08/28 Message-ID: <37c88258.0@209.66.99.126> X-Deja-AN: 518336266 Sender: "raj" <rahulgulati@hotmail.com> Organization: Another Netscape Collabra Server User Reply-To: "raj" <rahulgulati@hotmail.com> X-User-Info: 128.248.80.98 Newsgroups: borland.public.jbuilder.java.swing