How to add menushortcut to menu item?

Java Programming Language >   Fundamentals of Object-Oriented Programming >   About Java Tutorial  

Short Question

530


Answer:

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


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.