Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
592 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 26

Expert Comment

by:ksivananth
ID: 17962314
use JWindow
0
 
LVL 26

Accepted Solution

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

Expert Comment

by:suprapto45
ID: 17962323
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This video teaches viewers about errors in exception handling.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

730 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