import java.awt.*;
import java.awt.event.*;
// Set this file as main (choose it in the
// project window, then press F8) to run the
// application version.
// See "TestApplet.java" for instructions on
// how to run the applet version
// Click in the window to draw shapes. Notice how
// the output is captured in the process window.
public class Tester extends MainFrame
{
public static void main(String args[])
{
System.out.println("Starting App");
System.err.println("Starting err app");
MainFrame f = new MainFrame();
f.add(new DrawCanvas(), "Center");
f.setSize(300,300);
f.show();
}
} |