I have a splash screen for my swing application and wrote the below manifest file. I placed the png file that splash window should show into a directory named resources under the class that is being executed first (i.e. /se/bookingapp/UI/resources/LOADLOGO.png). When I run the program in netbeans, the splash screen appears but when I double click on the built jar file and run it manually, the program starts without the splash screen. Do you know what i am missing?
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.2
Created-By: 1.6.0_14-b08 (Sun Microsystems Inc.)
SplashScreen-Image: /se/bookingapp/UI/resources/LOADLOGO.png
Main-Class: se.bookingapp.UI.MainFrame
From your comments:
Change manifest file following way: