import java.applet.Applet;
import java.awt.Color;
public class sampleapp extends Applet {
public void init() {
this.setBackground(Color.BLACK);
}
}
I am trying to load the above mentioned applet in mozilla browser.
<applet code="sampleapp.class" width="100" height="100"></applet>
After hosting that web page(index.HTML file where i embed the applet)I have been getting the status information in the web page as "Applet sampleapp started", but i am not getting the applet's content in that hosted web page(in my eg, am not getting the applet's background as black,instead am just getting blank web page) plz help me.