Creating a non-decorated JDialog in JDK v1.3.1x

mwalker
mwalker used Ask the Experts™
on
I'd like to create a JDialog that will acted as a splash screen at the start of my application.  The dialog will display some information about the applet as well as a progress bar notifiying the user the status of the initialization process.  However, I'd want to make sure that the user can't close the JDialog.  I will programmatically dispose of the dialog.  Hence, I want to hide the regular title bar with its close box at the top.  Is there any way to do this?

Thanks in advance for any help.
Comment
Watch Question

Do more with

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

Commented:
Use JWindow

Author

Commented:
Thanks. Why didn't I think of that? I guess I've been spending too many late nights at the computer.  

One thing I didn't make clear in my question: I want this window to be modal so that no other part of the app can be used while the window is up.

Any ideas?
Top Expert 2016
Commented:
That should be academic as the splash screen is shown before anything can be used anyway. Here's a little article about splash screens:

http://www.biztool.com/magazines/java/archives/0510/Andrews/

Author

Commented:
Thanks for your help. I was actually trying to show a skeleton of my application while the splash screen was visible (as when you start up Adobe Acrobat).  However, it should be sufficient to show the splash screen befor I show the application as is will be configured.

Thanks again for you help and for the link to the article.
Top Expert 2016

Commented:
No problem :-)

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