/** 
 * This program is an example from the book "Internet 
 * programming with Java" by Svetlin Nakov. It is freeware. 
 * For more information: http://www.nakov.com/books/inetjava/ 
 */ 
import java.applet.Applet; 
import java.awt.Graphics; 
 
public class HelloWorldApplet extends Applet { 
    public void paint(Graphics g) { 
        g.drawString("Hello world!", 50, 25); 
    } 
}
Back to Internet Programming with Java books's web site