well am facing a problem in executing my java applet in the web browser this is my very simple code
import java.applet.Applet;
import java.awt.*;
public class SimpleApplet extends Applet {
public void paint(Graphics g){
g.drawString("A Simple Applet", 20, 20);
}
}
am reading a book that says, i have to create an html file and put the tag on it. I did put when i click it is doesn't work
this is the tag
applet code=”SimpleApplet” width=200 height=60>
applet>
am i using the tag wrongly? can anyone guid me please? it feels like small think yet i couldn't solve it -_-