Article View: borland.public.jbuilder.java.swing
Article #7518Re: How to receive JComboBox's KeyListener event?
From: Torsten Welches
Date: Tue, 16 Jan 2001 07:06
Date: Tue, 16 Jan 2001 07:06
23 lines
1620 bytes
1620 bytes
Betty, you are running Metal L&F, right? The snippet I had posted was from an application that uses Windows L&F - it works there. I just checked it under Metal L&F - bad luck. And yes, under Metal combo.getComponent(0) does the trick for me, too. Oh well... I still wonder what bug id Johan was referring to. I presume it is 4243641 which is about focus events - hopefully they fixed the whole issue including key events. Torsten Betty <cutepang@net.polyu.edu.hk> wrote: >I have tried to use keyTyped, keyPressed, keyReleased. >It doesn't work. > >Betty
Technical Details
Message-ID:
<3a63f2e3$1_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!207.105.83.65References:
<3A5D83FA.665F9A05@net.polyu.edu.hk> <3a5da838$1_1@dnews> <3A5E70FB.532CA8CD@net.polyu.edu.hk> <3a5ea4b4$1_2@dnews> <3A63B0A1.97C03899@net.polyu.edu.hk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,a8659c08c1f7aefa X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2001-01-15 23:12:06 PST From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Sender: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Reply-To: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Subject: Re: How to receive JComboBox's KeyListener event? Newsgroups: borland.public.jbuilder.java.swing X-User-Info: 193.158.55.74 193.158.55.74 References: <3A5D83FA.665F9A05@net.polyu.edu.hk> <3a5da838$1_1@dnews> <3A5E70FB.532CA8CD@net.polyu.edu.hk> <3a5ea4b4$1_2@dnews> <3A63B0A1.97C03899@net.polyu.edu.hk> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3a63f2e3$1_1@dnews> Date: 15 Jan 2001 23:06:11 -0800 X-Trace: 15 Jan 2001 23:06:11 -0800, 207.105.83.65 Lines: 24 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!207.105.83.65