How do I show a splash screen for my jarred up program?

John Zukowski

You need to specify the splash image in the manifest file for the jar:

   Manifest-Version: 1.0
   Main-Class: HelloSplash
   SplashScreen-Image: MyImage.png
Then run the JAR without specifying the -splash command line option:
   java -jar Splash.jar
About | Sitemap | Contact