Register / Login
Win a copy of
The Way of the Web Tester: A Beginner's Guide to Automating Tests
this week in the
Swing / AWT / SWT
Autocomplete feature for JCombobox
posted 3 years ago
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
public void insertString(int offs, String str, AttributeSet a)
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.
Autocomplete JComboBox with image
Focus Between JComboBox and JTextField
Need some help for jquery autocomplete using jsp
Multiple version of jQuery autocomplete on same page