In our project we need a feature of combobox with auto complete feature. It is similar to the auto complete feature provided by google's home page textfield.
If I type "a" in the textfield on the google's home page, it shows all the words typed in the past starting with "a".
On the similar lines I need to provide a textfield/ combobox. When user types any letter, then the data starting with this letter, should appear as drop down below textfield. Once user selects one item from the list, it should appear in the textfield.
I tried implementing it using JCombobox (by making it editable) and implementing the keyListener interface. But somehow the keyPressed, keyTyped and the keyReleased methods are not triggered for editable JCombobox.
Kindly let me know if someone has built up some custom component like this before.