• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 621
  • 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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
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

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

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