splash : Java Glossary

go to home page S words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all) ©1996-2009 2007-08-15 Roedy Green, Canadian Mind Products
splash
A splash is an image that comes up while a program is loading.
Why Use a Splash Screen Command Line Splash
Applications Learning More
JApplet Splash Logo Links
Java Web Start Splash

Why Use a Splash Screen

A splash screen has several functions.

Applications

You might implement a Splash logo in your own program by, very first thing, before any other classes are loaded, use some code like this:

JApplet Splash Logo

In Java 1.5+ there is a splash logo that comes up as your JApplet loads. It looks a radiant Sun. You can modify that with a magic <param image tag that provides an alternate scaleable image.

Java Web Start Splash

You can add a splash screen to an JApplet or application with Java Web Start just by adding a line to the JNLP file.
<!-- adding splash image to your Java Web Start app -->
<icon href="../splash.gif" kind="splash" />

Command Line Splash

Starting in Java 1.6 you can specify a splash image on the command line like this:
rem invoking a splash image
java.exe -splash:welcome.gif -jar mine.jar

Learning More

Sun’s Javadoc on SplashScreen class : available:

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/splash.html J:\mindprod\jgloss\splash.html
CMP logofeedback Please email your feedback for publication, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.191.105]
You are visitor number 5,712.