Solved

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?

Posted on 2006-11-16
7
540 Views
Last Modified: 2010-08-05
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
Comment
Question by:gdkinney_2
7 Comments
 
LVL 26

Expert Comment

by:ksivananth
ID: 17962314
use JWindow
0
 
LVL 26

Accepted Solution

by:
ksivananth earned 500 total points
ID: 17962316
use setAccelerator(KeyStroke keyStroke) method of JMenuItem
0
 
LVL 16

Expert Comment

by:suprapto45
ID: 17962323
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 26

Expert Comment

by:ksivananth
ID: 17962333
0
 

Author Comment

by:gdkinney_2
ID: 17962373
I might want to put an image or maybe an icon on my About Dialog box as well.
0
 
LVL 16

Expert Comment

by:suprapto45
ID: 17962632
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
 
LVL 37

Expert Comment

by:zzynx
ID: 17963452
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unexpected HttpURLConnection connection behavior 2 84
diffSum example 4 23
egit plugin on eclipse 8 33
how to add new optional parameter to JSP 1 27
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now