Removing JVM Applet Splash screen

this is a simple HTML/JavaScript sample to remove the JVM Splash screen and replace it by your own one.

try it online : http://dzzd.net/demo/ProgressBar/

HTML/JavaScript source code:

<HTML>
 <HEAD>
  <SCRIPT language=JavaScript>

    function dzzdStartProgressBar(obj,obj2)
    {
         setTimeout("dzzdProgressBar('" + obj + "','" + obj2 + "')",500);
    }
    function dzzdProgressBar(obj,obj2)
    {
         if(document.getElementById(obj)!=null)
         {
              document.getElementById(obj).style.display="";
              document.getElementById(obj2).style.display="none";
              return;
	      
         }
	 setTimeout("dzzdProgressBar('" + obj + "','" + obj2 + "')",500);

    }
   </SCRIPT>
 </HEAD>
 <BODY bgColor=#ffffff
       onload="dzzdStartProgressBar('DzzD','DzzDIMG')">
  <CENTER>

    <!-- BEGIN LOADING IN PROGRESS BLOCK -->
    <!-- REPLACE THIS BLOCK WITH YOUR OWN LOADING HTML BLOCK -->
   <TABLE id=DzzDIMG
          STYLE="WIDTH: 676px;
                 HEIGHT: 380px"
          cellSpacing=0
          cellPadding=0>
     <TR>
      <TD STYLE="FONT-WEIGHT: 800;
                 FONT-SIZE: 12px;
                 COLOR: #990000;
                 FONT-FAMILY: Arial;
                 TEXT-ALIGN: center;"
          vAlign=center
          align=middle>
       <IMG src="DzzDIMG.JPG">
       

        - loading - 
      </TD>
     </TR>
   </TABLE>
    <!-- END LOADING IN PROGRESS BLOCK -->

 <!-- BEGIN DISLPLAY APPLET BLOCK -->
 <!-- REPLACE THIS BLOCK WITH YOUR OWN APPLET BLOCK -->
       <APPLET code="Sample.class" 
               archive="LIB/dzzd.jar"
               width="676"
               height="380"
               MAYSCRIPT
	       STYLE = "display:none"
               ID = "DzzD">

 <!-- BEGIN JAVA ERROR BLOCK -->
 <!-- REPLACE THIS BLOCK WITH YOUR OWN ERROR BLOCK -->
 Error : Java is not properly installed.
 <!-- END JAVA ERROR BLOCK -->
</APPLET>    
    <!-- END DISLPLAY APPLET BLOCK -->
<A HREF=http://dzzd.net>Powered by 3DzzD at http://dzzd.net</A>
  </CENTER>
 </BODY>
</HTML>

EDIT: source code corrrection:

    document.getElementById(obj).style.display="block"; //not FF compatible
    document.getElementById(obj2).style.display="none";

replaced by

    document.getElementById(obj).style.display=""; //compatible all browser
    document.getElementById(obj2).style.display="none";

Cool idea!

Would definitely like to use that. But the first time i tested it I first saw your splash, then the java loading splash and then the cube. Each splash ~1sec. From then on if reloading, I just saw the dzzd splash. Probably because the applet was cached. FF, Win XP, Java 1.6. Seems to have worked on IE.

yup for FF there i a workaround, as explained by onyx in his article http://kaioa.com/node/21 IE and other browser doesnt works the same for firefox you should set your applet size to 1px*1px while loading to force JVM startup than set is size to it real size once loaded

EDIT:
en passant j’ai fait une petite correction du source : style.display=“block” remplacé par style.display="" , ceux-ci est bcp plus compatible…