DEVFYI - Developer Resource - FYI

How to add menushortcut to menu item?

Java Interview Questions and Answers (part 1)


(Continued from previous question...)

128. How to add menushortcut to menu item?

If you have a button instance called aboutButton, you may add menu short cut by calling aboutButton.setMnemonic('A'), so the user may be able to use Alt+A to click the button.

(Continued on next question...)

Other Interview Questions