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 / General / November 2006

Tip: Looking for answers? Try searching our database.

How to change the editable JComboBox's model when starting or ending typed

Thread view: 
@CL - 23 Nov 2006 09:08 GMT
Hi,all

I created an autocomplete JComboBox,which used the
Glazedlists(http://publicobject.com/glazedlists) AutoCompleteSupport,
when I typed somthing into comboBox,I need the autocomplete to search
the result in model one,
and when I clicked the comboBox's right arrow button,I just need it
popup the items in model two,
so the problem is how can I changed the model of comboBox when entered
editing and clicked arrow button?

regards,
Richard
@CL - 23 Nov 2006 09:14 GMT
I had tried the PopupMenuListener,
but when editing,if the typed matchs the item in model one,
it popups too,so it can't work.
and the keyListener and focusListener seems no sense too,
anyone can suggest ?

regards,
Richard


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



©2009 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.