Is there any good ready made Java Swing component that can be used to implement auto complete textbox?
Here's an example on autocompletion without a drop down selection. It will only autocomplete for you when a unique match is found. The completion is auto inserted into the text field and selected. Kind of similar as to how Safari's address field works.
The solution could be expanded to provide a list of options, however that was not part of my requirements when doing this.
UPDATE
I lost the domain with the original code. It can now be accessed on github: https://github.com/sasjo/autocomplete
There is a claim that JIDE-OSS has the feature that you are requesting. That is what this forum claims, however I have not tried it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With