CodeProject.TV will close July 31. Remember to ensure you’ve watched or download your videos! Full details here.

Mnemonics and Accelerators: Mastering Java Swing Part 21

10m 16s

Cave of Programming

After working as a software developer and contractor for over 14 years for a whole bunch of companies including CSC, Proquest, SPSS and AT&T in the UK and... Read more

A tutorial on mnemonics and accelerators in Java Swing.

You can use mnemonics and accelerators to make your menus and other items more keyboard accessible, both for expert users who happen to like shortcuts and for people who don't like to, or can't, use the mouse.

What are mnemonics and accelerators?
Adding mnemonics to menus, buttons and form fields
Setting accelerators for menu items
The KeyEvent and ActionEvent classes