splash : Java Glossary
home S words local find no local find frame, full screen Google search web for topic jump to footer translate with Babelfish 2007-08-15 by Roedy Green ©1996-2008 Canadian Mind Products
Go to : 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)
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 the SplashScreen class : available:

CMP_homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.18] Spread the Net
You are visitor number 3,637.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/Mindprod website mirror)
http://mindprod.com/jgloss/splash.html J:\mindprod\jgloss\splash.html