Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Autocomplete feature for JCombobox

 
Nirmal Mukundan
Ranch Hand
Posts: 37
Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic