Mustang SplashScreen

Posted by Lucio Benfante Sat, 01 Apr 2006 07:45:00 GMT

Mustang will be the next release of the Java Standard Edition (Java SE 6). At present Mustang is in beta, it will be delivered in Autumn 2006.

One of the new desktop features of Mustang is the capability of showing a splash screen even before the starting of the Java Virtual Machine.

You can configure the splash screen by command line:

java -splash:mysplash.gif MyApplication

…or, if your application is packaged in a JAR file, using the SplashScreen-Image option in the manifest file:

Manifest-Version: 1.0
Main-Class: MyApplication
SplashScreen-Image: mysplash.gif

For testing this new cool feature of Mustang, I wrote a small example, with some supporting classes. For trying it you can download the Splasher.jar file from here. Execute it using:

java -jar Splasher.jar

…of course you have to download and install Mustang.

Read more...

Posted in  | Tags , ,  | 40 comments