This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JComboBox that reduces list with typing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JComboBox that reduces list with typing" Watch "JComboBox that reduces list with typing" New topic
Author

JComboBox that reduces list with typing

Josh Johnson
Greenhorn

Joined: Jan 15, 2001
Posts: 20
I need an editable JComboBox that reduces its list of options as a user types in text. If you type "blah" into the textfield of the JComboBox, it will drop down its list and display only those list items that begin with "blah". I want something that works like the Address (URL) textfield in Internet Explorer.
Does anyone know where I can find code that does this?
 
Consider Paul's rocket mass heater.
 
subject: JComboBox that reduces list with typing