Angela
The solution is to define
init() to change the background color of the applet and the
parent frame within which the applet is embedded. Normally the space that an applet uses on the screen is shown as a solid gray box while the applet is loading and initializing. This box tends to stand out on pages that use a background color other than gray. But there is a way around this problem. Applets always have a parent container in which they are embedded. Under both Netscape Navigator and Internet Explorer, this container is derived from the core
Java class: java.awt.Container. So we need to use the methods inherited from java.awt.Component- setBackground() and repaint() to change the background color to the value of a bgcolor applet parameter. This makes the applet space stand out less than it does when it is gray.
For eg. do this:-
In the container HTML page set:-
<param name="bgcolor" value="#ffffff">
Define the
public void init() of the applet as follows:-
This should solve the problem. Do let us know.