Class pmr.simplegraph.AppletFrame
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pmr.simplegraph.AppletFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----pmr.simplegraph.AppletFrame

public class AppletFrame
extends Frame
simple Frame to support an Applet.

This example is modified from _Java in a Nutshell_ by David Flanagan. Written by David Flanagan. Copyright (c) 1996 O'Reilly & Associates. You may study, use, modify, and distribute this example for any purpose. This example is provided WITHOUT WARRANTY either expressed or implied. Hacked to support CMLObj - PMR This is a simple example of allowing an applet to run as a standalone Java application. The only problem is that when running standalone, it can't read applet parameters.

Author:
(C) P. Murray-Rust, 1996

Constructor Index

 o AppletFrame(String, Applet, int, int)

Method Index

 o action(Event, Object)

Constructors

 o AppletFrame
  public AppletFrame(String title,
                     Applet applet,
                     int width,
                     int height)

Methods

 o action
  public boolean action(Event e,
                        Object arg)
Overrides:
action in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index