Previous | Next | Trail Map | Getting Started | The "Hello World" Applet


The Anatomy of a Java Applet

[UNDER CONSTRUCTION]

This page will discuss (or lead to pages that discuss) the anatomy of an applet. It'll discuss:

I'm not sure how far I'll get into Java language stuff. Should we assume the reader has read the anatomy of an application section? If so, we need to take out that little note about "skip to the applet if you're not interested in applications..."

Once Again, the Code

Here again is the code for the "Hello World" applet.
import java.awt.Graphics;
import java.applet.Applet;

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


Previous | Next | Trail Map | Getting Started | The "Hello World" Applet