• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 640
  • Last Modified:

Creating an About Box Dialog for a Java Swing GUI to be called from a Help/About JMenuItem how do I create a hot key?

I am creating an About Box dialog for a Java Swing GUI to be called from a Help/About JMenuItem.  Should I use a JOptionPane or a JDialog to do it?  Also how do I create a JMenuitem hot key to call the About box dialog.  I want to be able to call it using ALT-A or ALT-SHIFT-A?

Thanks,
Dave
0
gdkinney_2
Asked:
gdkinney_2
1 Solution
 
ksivananthCommented:
use JWindow
0
 
ksivananthCommented:
use setAccelerator(KeyStroke keyStroke) method of JMenuItem
0
 
suprapto45Commented:
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
ksivananthCommented:
0
 
gdkinney_2Author Commented:
I might want to put an image or maybe an icon on my About Dialog box as well.
0
 
suprapto45Commented:
Sorry for the delay. Pretty busy at the moment. This should help you.

http://www2.sys-con.com/itsg/virtualcd/Java/archives/0510/Andrews/index.html
0
 
zzynxSoftware engineerCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now