home *** CD-ROM | disk | FTP | other *** search
Java Source | 1998-10-05 | 591 b | 25 lines |
- 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");
- MainFrame f = new MainFrame();
- f.add(new DrawCanvas(), "Center");
- f.setSize(300,300);
- f.show();
- }
-
- }