/*
   Download and save as a text file first.
   Open the file with TextPad and then save as "HelloWorldApplet.java"
   Compile and run the program
   Then open the html file "a simple program"
*/
import java.applet.Applet;
import java.awt.Graphics;

public class HelloWorldApplet extends Applet {
    public void paint(Graphics g) {
        g.drawString("Hello world!", 50, 25);
    }
}
