FileDocCategorySizeDatePackage
HelloWorld.javaAPI DocExample185Tue Dec 12 18:57:54 GMT 2000None

HelloWorld.java

import java.applet.Applet;
import java.awt.Graphics;

public class HelloWorld extends Applet {
    public void paint(Graphics g) {
        g.drawString("Hello world!", 50, 25);
    }
}