aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Autocomplete feature for JCombobox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Autocomplete feature for JCombobox" Watch "Autocomplete feature for JCombobox" New topic
Author

Autocomplete feature for JCombobox

Nirmal Mukundan
Ranch Hand

Joined: Feb 21, 2007
Posts: 37

Hello,

I have a Screen in which there are multiple Jcomboboxes. I have a requirement to make these combo boxes editable and autocomplete.

I searched for many examples and finally got the solution http://www.orbital-computer.de/JComboBox/

Since I have multiple Jcomboxes, how will I be able to use the same DocumentListener for 2 combobxes.
For eg: The method does not have a way to identify 2 different components.

Please help to resolve the issue of making 2 comboxes autocomplete in the same screen.

Regards
Nirmal
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Autocomplete feature for JCombobox