McqMate
| Q. |
How would you detect a keypress in a JComboBox? |
| A. | Add a KeyListener to the JComboBox |
| B. | Add a KeyListener to the JComboBox’s editor component |
| C. | Either (a) or (b) |
| D. | None of the above |
| Answer» B. Add a KeyListener to the JComboBox’s editor component | |
View all MCQs in
Java ProgrammingNo comments yet