aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes To set the F1 key as shortcut for menuitem Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "To set the F1 key as shortcut for menuitem Help" Watch "To set the F1 key as shortcut for menuitem Help" New topic
Author

To set the F1 key as shortcut for menuitem Help

VenuArchana Aradhyula
Greenhorn

Joined: Sep 02, 2008
Posts: 13
Hi

I use a menu item Help in my application. I want to set the short cut key as F1 to this menu item .
That is when i press F1 key the action should be performed for this menu item.

Thanks
Archana.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10375
    
    8

What have you got so far?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
VenuArchana Aradhyula
Greenhorn

Joined: Sep 02, 2008
Posts: 13
Please suggest how to set it .
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10375
    
    8

http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: To set the F1 key as shortcut for menuitem Help