Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing 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

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

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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic