Can any one tell me how to add a menu or menuitem shortcut in awt gui. Please give me a example or any link where a i can found a example. Thanks in Advanced
use the method JMenuItem.setAccelerator(KeyStroke) this method will add the shortcut string to the menuitem and trigger the action that is a attached to your menuitem. cheers
Chantal Ackermann please give me the example in AWT not in Swing for shortcutmenu. I have already used the method of MenuItem.setShortcut(MenuShortcut);