Method getMnemonic()
Return type: int
Member of:
javax.swing.AbstractButton
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
setMnemonic(menuItem.getMnemonic());
2
setMnemonic(menuItem.getMnemonic());
3
setMnemonic(menuItem.getMnemonic());
4
nextMnemonic = bNext.getMnemonic();
5
String s = KeyEvent.getKeyText(jm.getMnemonic());
6
assertEquals(KeyEvent.VK_F, b.getMnemonic());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.