Well what i did here was upload FirstApplet.class into my website there, this is its code:

import java.awt.*;
import java.applet.*;

public class FirstApplet extends Applet
public void paint(Graphics g)
g.drawString("I'm told this is everyone's first applet.", 20, 20);

so i compiled it, uploaded the .class file, and then i entered this here HTML code:


<title>Main Page for the Testing Site</title>



<applet code="FirstApplet.class" width=300 height=100>


and when i preview the page it says "Loading applet failed..." in the status bar. any helps?