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
3.9k
0
Do you find this helpful?
32

View all MCQs in

Java Programming

Discussion

No comments yet