This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 10167
    
    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: 10167
    
    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
 
Similar Threads
Why can't I add a menu item to more than one menu?
F1 key for Help
Problems view in NetBeans 5.5?
JMenu keep open with right click
fill selectOneMenu from database