home *** CD-ROM | disk | FTP | other *** search
Java Source | 1999-07-11 | 517 b | 20 lines |
- 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");
- }
- }
-