Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / May 2004

Tip: Looking for answers? Try searching our database.

JList.getNextMatch() - HowTo

Thread view: 
T E Schmitz - 28 May 2004 15:03 GMT
Hello,

I have a sorted JList and I would like to select the item that matches
the user's keystrokes:

example list {"Cardiff", "Carlisle", "Edinburgh", "Glasgow",
"Liverpool", "London"}

'L' should select "Liverpool", 'Lo' "London".

I've seen a couple of postings from which I gather that this behaviour
is already implemented. But I am not quite sure whether I need to
implement a KeyListner and buffer the keystrokes and then call
getNextMatch() with the cached string?

I'd appreciate it if anyone could point me in the right direction.

Signature

Regards,

Tarlika Elisabeth Schmitz

Rhino - 31 May 2004 14:36 GMT
> Hello,
>
[quoted text clipped - 12 lines]
>
> I'd appreciate it if anyone could point me in the right direction.

This isn't a database question so it would be more appropriate for you to
post to comp.lang.java.programmer or comp.lang.java.gui.

Rhino


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.