A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Swing / AWT / SWT
Autocomplete feature for JCombobox
Joined: Feb 21, 2007
Aug 09, 2013 00:42:57
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.
I agree. Here's the link:
subject: Autocomplete feature for JCombobox
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015