• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Splash screen image

 
adam bilyone
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanted to load an application splash screen using manifest file, the application loads successfully without displaying the splash screen image, can anyone help? The following is the listing of the manifest file.

Manifest-Version: 1.0
Main-Class: Application
SplashScreen-Image: image.gif
 
Andrey Kozhanov
Ranch Hand
Posts: 79
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Things to check:

1. Did you put image.gif into your jar file?

2. Is there a new line symbol after last line of your manifest file?
 
Nam Ha
Ranch Hand
Posts: 50
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another thing needs to be checked:
Make sure the image.gif file is placed at correct folder inside Jar file. For example, if you put image.gif under resources folder, in manifest file you should have:

SplashScreen-Image: resources/image.gif
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic