aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Combo Box search as user types Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Combo Box search as user types" Watch "Combo Box search as user types" New topic
Author

Combo Box search as user types

Ryan Liang
Greenhorn

Joined: May 05, 2007
Posts: 1
I want to make a edible combo box to search the list as user starts to type. In this way, the user will know what is available in the list as he/she types. It is going to be a very long list, so I don't want the user click on the drop down arrow to look for it. Thanks in advance.

For example as user starts to type R in the text field, the drop down list will show

Ran
Rani
Raw
Rock
.
.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
> I want to make a edible combo box
> I don't want the user click on the drop down arrow
> the drop down list will show

at what point would the drop down list show?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56192
    
  13

Originally posted by Ryan Liang:
I want to make a edible combo box ...


I find that no matter what you do to a combobox, it still tastes pretty bad. (Sorry, just couldn't leave this one alone! )


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32679
    
    4
. . . but not as bad as that joke.
And yo haven't welcomed a new member
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56192
    
  13

Welcome!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Combo Box search as user types
 
Similar Threads
Retaining JCombo values
Display data from combobox into Table
JCombo box auto find
JComboBox again
??? Make JComboBox drop UP instead of DOWN ???