In our project we need a feature of textfield with autoscroll. It is similar to the auto scroll 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. When user types any letter, then the data starting with the 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.