home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Java / FreeJava10 / _SETUP.1 / Tester.java < prev   
Encoding:
Java Source  |  1998-10-05  |  591 b   |  25 lines

  1. import java.awt.*;
  2. import java.awt.event.*;
  3.  
  4. // Set this file as main (choose it in the
  5. // project window, then press F8) to run the
  6. // application version.
  7. // See "TestApplet.java" for instructions on
  8. // how to run the applet version
  9.  
  10. // Click in the window to draw shapes. Notice how
  11. // the output is captured in the process window.
  12.  
  13. public class Tester extends MainFrame
  14. {
  15.  
  16.     public static void main(String args[])
  17.     {
  18.         System.out.println("Starting App");
  19.         MainFrame f = new MainFrame();
  20.         f.add(new DrawCanvas(), "Center");
  21.         f.setSize(300,300);
  22.         f.show();
  23.     }
  24.  
  25. }