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";