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
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact