🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.gui
Article #10

JComboBox and Selection on Keystroke !!!

#10
From: Thomas Fichtenbauer
Date: Fri, 06 Oct 2000 00:00
21 lines
2021 bytes
I need some help.
I want a JComboBox to work so, that when user writes characters to
combo's
editor, the selection list changes according to characters written in
combo. Or it chooses automatically the selection correponding with
written characters.

This works fine when the JComboBox is not editable, but when i set the
JComboBox to editable it won't work

There is a interface KeySelectionManager which contains the method
selectionForKey.
when the combobox is not editable the this method is called but when the
combobox is set to
editable the method is not called any more. why??

Does anyone knows how to implement it?
I tryed nearly everything now but it still wont work and its very
important for me !!

Pleez help me and send any suggestions
Technical Details
Message-ID: <39DD849D.A34A4358@xsoft.at>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,3a7a8a01792d49e8,start
X-Google-Attributes: gid111d45,public
X-Google-Thread: 10a146,3a7a8a01792d49e8,start
X-Google-Attributes: gid10a146,public
X-Google-Thread: 10fd6d,3a7a8a01792d49e8,start
X-Google-Attributes: gid10fd6d,public
X-Google-Thread: f8eda,3a7a8a01792d49e8,start
X-Google-Attributes: gidf8eda,public
X-Google-Thread: 113ae9,3a7a8a01792d49e8,start
X-Google-Attributes: gid113ae9,public
From: Thomas Fichtenbauer <t.fichtenbauer@xsoft.at>
Subject: JComboBox and Selection on Keystroke !!!
Date: 2000/10/06
Message-ID: <39DD849D.A34A4358@xsoft.at>
X-Deja-AN: 678197259
Cache-Post-Path: newsproxy1.debis.at!unknown@hide.xsoft.at
Content-Transfer-Encoding: 7bit
X-Accept-Language: de
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@kpnqwest.at
X-Trace: nreader1.kpnqwest.net 970818718 53.244.2.18 (Fri, 06 Oct 2000 09:51:58 MET DST)
Organization: debis.at
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)
MIME-Version: 1.0
NNTP-Posting-Date: Fri, 06 Oct 2000 09:51:58 MET DST
Newsgroups: comp.lang.java.gui,borland.public.jbuilder.java.swing,borland.public.jbuilder.dbswing,comp.lang.java.help,comp.lang.java.programmer