Class appWrapper

Class appWrapper

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----appWrapper

public class appWrapper
extends Applet
implements AppletStub
The appWrapper is thought to make the applet itself independent from the original context. This is necessary to be able to detach the applet from the web browsers window without disconnecting it from events. Note: This applet should work with any applet without changes.
Version:
$Id: appWrapper.java,v 1.1.1.1 1997/03/05 13:35:16 leo Exp $
Author:
Matthias L. Jugel

Constructor Index

 o appWrapper()

Method Index

 o appletResize(int, int)
This method is called when the applet want's to be resized.
 o getParameterInfo()
Give information about the appWrapper and the applet loaded.
 o init()
Applet initialization.
 o paint(Graphics)
Write a message to the applet area.
 o reshape(int, int, int, int)
reshape the applet and ourself
 o start()
After initializing the applet it will be started.

Constructors

 o appWrapper
  public appWrapper()

Methods

 o init
  public void init()
Applet initialization. We load the class giving in parameter "app" and set the stub corresponding to ours. Thus we are able to give it access to the parameters and any applet specific context.
Overrides:
init in class Applet
 o start
  public void start()
After initializing the applet it will be started.
Overrides:
start in class Applet
 o appletResize
  public void appletResize(int width,
                           int height)
This method is called when the applet want's to be resized.
Parameters:
width - the width of the applet
height - the height of the applet
 o getParameterInfo
  public String[][] getParameterInfo()
Give information about the appWrapper and the applet loaded.
Overrides:
getParameterInfo in class Applet
 o paint
  public void paint(Graphics g)
Write a message to the applet area.
Overrides:
paint in class Component
 o reshape
  public void reshape(int x,
                      int y,
                      int w,
                      int h)
reshape the applet and ourself
Overrides:
reshape in class Component