Article View: borland.public.jbuilder.java.swing
Article #9156Re: Jtextfield problem
From: John P. McGrath
Date: Thu, 18 May 2000 00:00
Date: Thu, 18 May 2000 00:00
20 lines
1250 bytes
1250 bytes
On Fri, 19 May 2000 01:14:08 +0200, Sven Goetgeluck wrote: > Thanx pal this is what i want but have still small problem , > need an event triggering on the panel so when you click one > off the buttons or change the textfield ,it has to put the > text to another textfield, must be in the class because need > more than one plusminustectfield in my panel > > is that possible?????? I think you probably want to have the panel fire a PropertyChange event when the text is changed. The panel can add the appropriate listeners to the text field and fire the property change to its listeners. That way, the outside world does not have to know the structure of your compound component. -- John P. McGrath <JPMcGrath@fast.net> <jpm@nscs.fast.net>
Technical Details
Message-ID:
<MPG.138e6cabc7cff616989936@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3921af12@dnews> <39230C94.3B09A3A0@home.com> <39242302@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,e3d8a7969574fa02 X-Google-Attributes: gid111d45,public From: John P. McGrath <JPMcGrath@fast.net> Subject: Re: Jtextfield problem Date: 2000/05/18 Message-ID: <MPG.138e6cabc7cff616989936@forums.borland.com> X-Deja-AN: 625238424 References: <3921af12@dnews> <39230C94.3B09A3A0@home.com> <39242302@dnews> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing