About Box

hello1111
hello1111 used Ask the Experts™
on
I have a simple Jave Application.    What is the easiest way to have an "About" box open up when the program starts, where the user can see information about the programme, click on okay, and continue with the programme?

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
The best thing to do is to have a splash screen it gives the user something to look at when the program is loading, but you don't want to annoy them by forcing them to dismiss it. There's an example at http://www.biztool.com/magazines/java/archives/0510/Andrews/ 
Also, I would include an option to skip the splash screen on startup
Mick BarryJava Developer
Top Expert 2010

Commented:
Easiest would be to just popup a dialog:

JOPtionPane.showMessageDialog(null, "About XYZ");
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

Top Expert 2016
Commented:
If you do use a popup dialog, make sure you use a customary 'Don't show this again' checkbox or it'll annoy the hell out of users (it certainly would me).
Mick BarryJava Developer
Top Expert 2010

Commented:
popup was my idea ;)
Top Expert 2016

Commented:
He could be accepting my earlier answer in effect (?)

Author

Commented:
Sorry objects, I was accepting the splashscreen idea!
Mick BarryJava Developer
Top Expert 2010

Commented:
No worries, thanks for the clarification :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial