Article View: borland.public.jbuilder.java.language
Article #8825Action listener on text fields
From: Terminal
Date: Thu, 01 Mar 2001 02:36
Date: Thu, 01 Mar 2001 02:36
46 lines
2808 bytes
2808 bytes
This is a multi-part message in MIME format. ------=_NextPart_000_010C_01C0A250.69051CC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Trying to write a small program with an array of text fields, all = registered to the one action listener. I've got an object which identifies the name = of the text field generating the event, but it just generates the name "TextField0", then "TextField1" etc, regardless of which field is the source. How can I identify which of the text fields generated the action command? Is there a way to get the identifier of the text field from the Action event? Thanks ------=_NextPart_000_010C_01C0A250.69051CC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type> <META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV>Trying to write a small program with an array of text fields, all=20 registered<BR>to the one action listener. I've got an object which = identifies=20 the name of<BR>the text field generating the event, but it just = generates the=20 name<BR>"TextField0", then "TextField1" etc, = regardless of=20 which field is the<BR>source. How can I identify which of the text = fields=20 generated the action<BR>command? Is there a way to get the identifier of = the=20 text field from the<BR>Action event?<BR>Thanks</DIV></BODY></HTML> ------=_NextPart_000_010C_01C0A250.69051CC0--
Technical Details
Message-ID:
<dmin6.5736$v5.21170@newsfeeds.bigpond.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone2.usenetserver.com!news-out.usenetserver.com!feed2.onemain.com!feed1.onemain.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!newsfeeds.bigpond.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,22b027ce65dcdc6a,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-02-28 18:38:03 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone2.usenetserver.com!news-out.usenetserver.com!feed2.onemain.com!feed1.onemain.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!newsfeeds.bigpond.com!not-for-mail From: "Terminal" <mickdunn@bigpond.com> Newsgroups: borland.public.jbuilder.java.language Subject: Action listener on text fields Lines: 47 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_010C_01C0A250.69051CC0" X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: <dmin6.5736$v5.21170@newsfeeds.bigpond.com> Date: Thu, 1 Mar 2001 13:06:20 +1030 NNTP-Posting-Host: 144.134.13.70 X-Trace: newsfeeds.bigpond.com 983413257 144.134.13.70 (Thu, 01 Mar 2001 13:20:57 EST) NNTP-Posting-Date: Thu, 01 Mar 2001 13:20:57 EST Organization: Telstra BigPond Internet Services (http://www.bigpond.com)