I found various solutions for adding autocomplete on JComboBox, but they all work with autocomplete from the very beginning. I am looking for a solution similar to JQueryUI AutoComplete (if you enter av in a text field, it pops up in Java and JavaScript).
For example, if I have the following elements:
If I enter n, I would like to have a match with Green, since it contains n.
Here is a solution I tested previously that only matches from the start:
- AutoCompleteDecorator.decorate (comboBox) from SwingX
- AutoCompleteSupport.install (COMBOBOX, GlazedLists.eventListOf (elements)); from GlazedLists
- jautocomp from jautocomp
- Java2sAutoComboBox.java
All of the above solutions correspond to the beginning (everyone uses the startWith method), which I am not looking for.
Do you know other solutions like jQueryUI implementation?
source share