FileDocCategorySizeDatePackage
MySuperApplet.javaAPI DocExample759Mon May 01 14:42:08 BST 2000None

MySuperApplet

public class MySuperApplet extends JApplet

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        // instantiate the applet
        JApplet theApplet = new MySuperApplet(  );

        // create a window for the applet to run in
        JFrame theFrame = new JFrame(  );
        theFrame.setSize(200,200);

        // place the applet in the window
        theFrame.getContentPane(  ).add("Center", theApplet);

        // start the applet
        theApplet.init(  );
        theApplet.start(  );

        // display the window
        theFrame.setVisible(true);