Using JDK splash screen from Web Start
Scott Kovatch
scott.kovatch at oracle.com
Tue May 1 15:28:32 PDT 2012
Hello,
Java Web Start supports showing a splash screen based on an image resource in the JNLP file. To do this, we load libsplashscreen.dylib and call SplashInit, SplashLoadFile and SplashClose (no animated image support, sorry.)
This used to work in JDK 6, but now it doesn't. I verified that I'm getting the image and passing it into SplashLoadFile, but no window appears with the image.
Looking at the implementation in JDK 7 I'm thinking that something is either starting up the AWT, or that there is a dependency of some kind on the AWT. Is this the case? Should libsplashscreen be linked against libawt? Use of AWT code is not an issue here because Web Start starts a new process that shows the splash screen, but right now I'd be happy if it just worked.
Any info/help is appreciated.
-- Scott K.
----------------------------------------
Scott Kovatch
scott.kovatch at oracle.com
Santa Clara/Pleasanton, CA
More information about the macosx-port-dev
mailing list