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 ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) Add a KeyListener to the JComboBox’s editor component