First applet
//File: applet.html /* <applet code="FirstApplet.class" codebase="." width=150 height=100> </applet> */ /// import java.applet.Applet; import java.awt.Graphics; /** This applet just says "Hello World! */ public class FirstApplet extends Applet { // This method displays the applet. public void paint(Graphics g) { g.drawString("Hello World", 25, 50); } }