While an applet is loading, it displays a white rectangle for a split second. How can we get rid of it?
views:
150answers:
2
+1
A:
If you are targeting Java 6 you can try the new plugin options for displaying a loading screen. https://jdk6.dev.java.net/plugin2/#LOADING_SCREEN
Serhii
2008-11-27 11:04:25
My applet is a public game and needs to work with older jvms too.
Manoj
2008-11-28 11:57:52
+1
A:
Did you try loading your applet offscreen?
You can then use MAYSCRIPT+LiveConnect to have your applet signal that it is running and have JavaScript move the applet container back onscreen.
geocar
2008-11-27 13:21:21
I guess this white rectangle appears during the time in which browser fetch the class file from server. JDK6 has support for showing images during this time. But I have to support old jvms too.
Manoj
2008-11-28 12:12:31