Article View: borland.public.jbuilder.java.language
Article #17975Any AWT gurus out there
From: James Kemp
Date: Thu, 27 Aug 1998 00:00
Date: Thu, 27 Aug 1998 00:00
25 lines
1259 bytes
1259 bytes
Could someone please give me the yea or the nay on the following AWT issue: concerns: TextField, TextArea, TextListener gist: if I make a class that extends the TextField class, and add a TextListener, then the corresponding textValueChanged() method is called when a key is pressed when the text field has focus, and also when the TextField's setText() method is called from code. That's what I want. Conversely (and here's my query), if I make a class that extends TextArea and add a TextListener, textValueChanged() is NOT called when setText() is called from code. ie the TextListener seems to have different behaviour when added to TextField and TextArea. is this a bug? or a feature? or have I just messed up? Thanks in advance for kind friendly helpful responses. James
Technical Details
Message-ID:
<6s2c96$lm94@forums.borland.com>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,d387c4c2324ea50e,start X-Google-Attributes: gidf74b3,public From: "James Kemp" <James_Kemp@clmt.com> Subject: Any AWT gurus out there Date: 1998/08/27 Message-ID: <6s2c96$lm94@forums.borland.com> X-Deja-AN: 385111628 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Newsgroups: borland.public.jbuilder.java.language