Color Parameters
In the HTML document: <APPLET …> <PARAM NAME="bgColor" VALUE="00ffff"> </APPLET>
In the Java applet: String colorStr; int colorInt; colorStr = getParameter( "bgColor" ); colorInt = Integer.parseInt( colorStr, 16 ); setBackground( new Color( colorInt ) );