🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8796

Re: JComboBox editable

#8796
From: James Cook
Date: Wed, 12 Jul 2000 00:00
7 lines
880 bytes
Paul Vogel <vo@metrohm.ch> wrote in message news:396CA6EB.1618D636@metrohm.ch...
> how do I have access to the typed keystokes within an editable
> JComboBox. The events keyTyped, keyPressed and keyReleased do not work.

The JComboBox is a composite object. You have to get the JTextField and add a listener to that object.

jim
Technical Details
Message-ID: <8ki6l0$4n46@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <396CA6EB.1618D636@metrohm.ch>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,5bc112506e459863
X-Google-Attributes: gid111d45,public
From: "James Cook" <jimcook.remove.for.spam@iname.com>
Subject: Re: JComboBox editable
Date: 2000/07/12
Message-ID: <8ki6l0$4n46@bornews.borland.com>
X-Deja-AN: 645538960
References: <396CA6EB.1618D636@metrohm.ch>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing