JComboBox Key Event Selection
Posted on 2006-05-25
I have a JComboBox that I want to respond to key events for selecting the item in the list.
Vector people = new Vector();
JComboBox comboBox = new JComboBox(people);
When you select the Combo box and press the letter "S" it goes to Sam. However when you press "Saw", it does not go to Sawyer. Is there a way to do this? I wasn't sure what this technique is really called otherwise I would have googled it more.