package thinlet
public class AppletLauncher
extends java.applet.Applet
implements java.lang.Runnable

AppletLauncher is a double buffered applet to launch any thinlet component


public AppletLauncher()

Applet instance is created by the browser or applet viewer

public voiddestroy()

public void destroy()

Called by the browser to inform this applet that it is being reclaimed, it calls the thinlet component's destroy method (its return value is irrelevant)


destroy in class java.applet.Applet

public voiddoLayout()

public void doLayout()

Clear the double buffer image, the overriden method lays out its components (centers the thinlet component)


doLayout in class java.awt.Container

public voidinit()

public void init()

Called by the browser to inform this applet that it has been loaded into the system, it displays the Loading... label and starts the loader thread


init in class java.applet.Applet

public voidpaint(Graphics g)

public void paint(java.awt.Graphics g)

Create a double buffer if needed, the thinlet component paints the content


paint in class java.awt.Container

public voidrun()

public void run()

Create a new thinlet instance of the class given as class applet parameter, and show it or the message of the thrown exception. First try a contructor with an applet parameter (thus you get this applet instance e.g. for the parameters of the applet HTML tag), then the empty constructor

public voidstop()

public void stop()

Called by the browser to inform this applet that it should stop its execution, it clears the double buffer image


stop in class java.applet.Applet

public voidupdate(Graphics g)

public void update(java.awt.Graphics g)

Call the paint method to redraw this component without painting a background rectangle


update in class java.awt.Container