Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Java in General and the fly likes Splash screen image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Splash screen image" Watch "Splash screen image" New topic

Splash screen image

adam bilyone

Joined: Aug 14, 2011
Posts: 16
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

Joined: Mar 12, 2010
Posts: 79
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

Joined: Aug 05, 2011
Posts: 50

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

Java Object Creation
It is sorta covered in the JavaRanch Style Guide.
subject: Splash screen image
jQuery in Action, 3rd edition