Article View: borland.public.jbuilder.java.language
Article #18082Re: TextField???
From: citron
Date: Tue, 18 Aug 1998 00:00
Date: Tue, 18 Aug 1998 00:00
18 lines
907 bytes
907 bytes
Hello!
If I anderstand your question, you have just to write:
if (t.setText().equals("hi))
equals(String s) is a methode to compare two String
Citron
Anders wrote:
> I want to make a string from a textfield true in a if-statement.
> like this:
> if(t.???("hi"))
>
> "t" is the name of the textfield and "hi" is the textfield string.
>
> Thanx for the help
Technical Details
Message-ID:
<35D9A700.79FE0A48@edicom.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35C443D2.356F13A8@ebox.tninet.se>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,719db81b8f901c64 X-Google-Attributes: gidf74b3,public From: citron <cedric.delmonico@edicom.ch> Subject: Re: TextField??? Date: 1998/08/18 Message-ID: <35D9A700.79FE0A48@edicom.ch> X-Deja-AN: 382309649 Content-Transfer-Encoding: 7bit References: <35C443D2.356F13A8@ebox.tninet.se> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language