Why Use a Splash Screen | Manifest Splash |
Application Splash | Jet Splash |
JApplet Splash | Kicker Splash |
Java Web Start Splash | Learning More |
Command Line Splash | Links |
The problem with this technique is quite a bit of JVM (Java Virtual Machine) and application code has to be loaded before the splash screen with show up on the screen.
<!-- adding splash image to your Java Web Start app --> <icon href="../splash.gif" kind="splash" />
rem invoking a splash image java.exe -splash:welcome.gif -jar mine.jar
I have not experimented to figure out where the JVM looks for the image, presumably the classpath which might include inside the jar.
You trigger a png, jpg or gif image to display while your program loads by putting a command in the jar manifest like this:
Manifest-Version: 1.0 Main-Class: Test SplashScreen-Image: mysplash.png
You can fine tune it, but not trigger it, with the java.awt.SplashScreen class.
I have not experimented to figure out where the JVM looks for the image, presumably the classpath which might include inside the jar.
The Excelsior Jet native compiler LAUNCHPAD utility will attach a splash image to your executable that starts instantly, even before the JVM loads.
The Kicker technique has the advantage you can get your splash screen up even before the JVM loads. It can also handle services like setting the directory, setting the classpath, avoiding multiple instances etc. You write a little C program that execs the JVM and your app.
This page is posted |
http://mindprod.com/jgloss/splash.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\splash.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.145.57.5] |
| |
Feedback |
You are visitor number | |