Article View: borland.public.jbuilder.java.language
Article #14521jtextfield problem
From: raj
Date: Sat, 28 Aug 1999 00:00
Date: Sat, 28 Aug 1999 00:00
20 lines
985 bytes
985 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:
<37c882da.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: f74b3,3237abfe2ae61d6a,start X-Google-Attributes: gidf74b3,public From: "raj" <rahulgulati@hotmail.com> Subject: jtextfield problem Date: 1999/08/28 Message-ID: <37c882da.0@209.66.99.126> X-Deja-AN: 518339310 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.language