Saved Bookmarks
| 1. |
How Would You Detect A Keypress In A Jcombobox? |
|
Answer» This is a TRICK. most people would SAY ‘add a KeyListener to the JComboBox’ - but the RIGHT answer is ‘add a KeyListener to the JComboBox’s EDITOR component.’ This is a trick. most people would say ‘add a KeyListener to the JComboBox’ - but the right answer is ‘add a KeyListener to the JComboBox’s editor component.’ |
|