java - Editable JCombobox and the key listener -


how add key event listener in jcombobox accepts whole string ex. if add 's' should search string start 's' in database .if there no result should wait user type other character in combobox similar results

check if helps-

    combobox.addkeylistener(new keyadapter() {         @override         public void keyreleased(keyevent ke) {             // text typed , search             // text combo box, , not key event         }     }); 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -