Multiple Choice
Which of the following statements assigns the C key as the mnemonic for the JButton object referenced by clearButton?
A) clearButton.addMnemonic(KeyEvent.VK_C) ;
B) clearButton.setMnemonic(KeyEvent.C) ;
C) clearButton.assignMnemonic(KeyEvent.VK_C) ;
D) clearButton.setMnemonic(KeyEvent.VK_C) ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q22: The Dimension class is part of the
Q23: To give a combo box a text
Q24: To add a component to a scroll
Q25: To force the JFrame that encloses a
Q26: You can create a label with an
Q28: After you create a menu item, you
Q29: If you assign the same mnemonic to
Q30: When an item in a Jlist object
Q31: What is the default directory for the
Q32: Which of the following file types is