FileDocCategorySizeDatePackage
TestApplet.javaAPI DocExample517Sun Jul 11 19:08:26 BST 1999None

TestApplet.java

import java.applet.*;
import java.awt.*;

// note: in order to compile the applet, you
// must set this file as "Main" - select it
// in the project window, and then press F8.
// If you want to run the application version,
// set Tester.java as main.
// To run the applet, choose "Run Applet", or press
// Shift+F5. To run the application, press F5

public class TestApplet extends Applet
{
	public void init()
	{
		this.setLayout(new BorderLayout());
		this.add(new DrawCanvas(), "Center");
	}
}