I am trying to port a Java Swing project to Java Web Start and I have a problem with the splash screen. This app uses Maven.
When I download my application through the command line or an external exe, it correctly displays the splash screen.
final SplashScreen splash = SplashScreen.getSplashScreen();
When I launch the application through Java Web Start, it always returns null.
Yes, I know about the splash screen section in the JNLP file.
<icon kind="splash" href="splash.png"/>
But this will show a splash screen before downloading the application, and not when the application is running. In other words, this is not a switch replacement --splash.
In the manifest file, I:
SplashScreen-Image: (URL to resource, file in jar)
This only works well when running a jar file, and not in Java Web Start.
- - ?
, , .