Class AppletFrame

All Implemented Interfaces:
AppletContext, AppletStub, ImageObserver, MenuContainer, Serializable, Accessible

public class AppletFrame extends Frame implements AppletStub, AppletContext

A Frame that runs an Applet within itself, making it possible for an applet to run as an application. Usage:

 public class MyApplet extends Applet {
     public static void main(String args[]) {
         MyApplet applet = new MyApplet();
         new AppletFrame("My Applet Running As An App", applet, 640, 480);
     }
     ...
 }
 
See Also: