Article View: borland.public.jbuilder.java.swing
Article #12831JCOmboBox and FocusListener
From: peter
Date: Wed, 04 Nov 1998 00:00
Date: Wed, 04 Nov 1998 00:00
15 lines
1404 bytes
1404 bytes
Hi gurus :) I have following problem with JComboBox.....I have panel which have few JTextFields and JComboBoxes...I added FocusListener to all of them and on "Tab" keystroke I am invoking focusLost method and checking the content of those components...it was beatifully working in Swing 1.0.1.... after that I have started using 1.0.3..but FocusListener no longer can be added to JComboBox since isFocusTraversable method return false all the time..it was reported as a bug....was hoping that with JKD1.2RC1 this would be fixed...but unfortunately it is still there....I found out in Swing bug database that there is a work'round that says add listener to JComboBox's children....well...this might work but I admit that I do not understand what poet meant telling us with this message...if anybody knows how to add focusListener to JComboBox..please let me know...thanx...Pete
Technical Details
Message-ID:
<36405F4E.1E04072F@yucc.yorku.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,fab2e4ee602d1f1b,start X-Google-Attributes: gid111d45,public From: peter <peter@yucc.yorku.ca> Subject: JCOmboBox and FocusListener Date: 1998/11/04 Message-ID: <36405F4E.1E04072F@yucc.yorku.ca> X-Deja-AN: 408515394 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing