Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2007

Tip: Looking for answers? Try searching our database.

Is there a startup banner class in Java?

Thread view: 
Todd - 19 Oct 2007 06:06 GMT
Hello,

I have created a Java application that takes a bit of time to start
up.  I would like to have a startup banner (panel, whatever) likeI
have seen in other applications.

Is there some class that handles this specifically - display and pause
until background activity is completed - or do I need to create one?

Thanks in advance,
Todd
RedGrittyBrick - 19 Oct 2007 11:02 GMT
> Hello,
>
[quoted text clipped - 4 lines]
> Is there some class that handles this specifically - display and pause
> until background activity is completed - or do I need to create one?

Version 1.6 JRE includes a "splash screen" facility which can be invoked
 by a command line option to the java command or by specifying it in
your Jar file. I forget the details but I'm sure googling for "java 1.6
splash screen" would get you some relevant results.

For older JRE's there are 3rd party classes you may be able to use
(chack licensing). One example is SPlashWindow by Werner Randelshofer.
Again, google should locate this quite quickly.
Lew - 19 Oct 2007 12:52 GMT
>> Hello,
>>
[quoted text clipped - 13 lines]
> (chack licensing). One example is SPlashWindow by Werner Randelshofer.
> Again, google should locate this quite quickly.

Pretty much the same answers as when this question was first posted.

Signature

Lew

RedGrittyBrick - 19 Oct 2007 19:21 GMT
>>> I would like to have a startup banner (panel, whatever)  ...
>>
>> Version 1.6 JRE includes a "splash screen" facility ...
>
> Pretty much the same answers as when this question was first posted.

Oh! Newsreader priority settings adjusted accordingly.
Wayne - 20 Oct 2007 00:39 GMT
> Hello,
>
[quoted text clipped - 4 lines]
> Is there some class that handles this specifically - display and pause
> until background activity is completed - or do I need to create one?

The swing JFrame supports a "glassPane" that can be used for this purpose.
However as many have already noted the newer JRE supports a command line
arg of "-splash".

-Wayne
Roedy Green - 20 Oct 2007 08:26 GMT
>I have created a Java application that takes a bit of time to start
>up.  I would like to have a startup banner (panel, whatever) likeI
>have seen in other applications.

See http://mindprod.com/jgloss/splash.html
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.