Article View: borland.public.jbuilder.java.swing
Article #12010Re: Events ...
From: S�bastien GRENIER
Date: Mon, 08 Mar 1999 00:00
Date: Mon, 08 Mar 1999 00:00
19 lines
1161 bytes
1161 bytes
This is the best solution if you can check the field
content for each key-input, but if you only want to
check the final content of the field, I don't think
there's any other way than checking the value in
the click event...
>If you instead of using a FocusLostEvent to verify the input, uses a
>TextValueChanged, you will evaluate the Text rigth after it has been
>entered, and not when the TextField lost focus; something like this
>
>TextFieldControl.addTextListener(new java.awt.event.TextListener()
> {public void textValueChanged(TextEvent e) {
> TextFieldEvalution();
> }
>});
>
>Karsten Bolge
>
>
Technical Details
Message-ID:
<7c0mjn$e6p8@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36C2C3CA.13192CAF@apollon.de> <7bomc7$6ff11@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,eec34355b45edec4 X-Google-Attributes: gid111d45,public From: "S�bastien GRENIER" <sgrenier@NOSPAM.atos-group.com> Subject: Re: Events ... Date: 1999/03/08 Message-ID: <7c0mjn$e6p8@forums.borland.com> X-Deja-AN: 452579135 References: <36C2C3CA.13192CAF@apollon.de> <7bomc7$6ff11@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing