de.kawt
Class KAWTlet

java.lang.Object
  |
  +--de.kawt.KAWTlet

public abstract class KAWTlet
extends java.lang.Object

This is an experimental class replacing the midlet launcher and may be subject to significant changes. For compatibility, please add a main method that creates a new instance of your KAWTlet implementation and then calls startApp for the new instance.


Field Summary
static de.kawt.impl.WrapperInterface currentWrapper
          This variable is used to hand the current MIDP or applet wrapper over to the KAWTlet.
 
Constructor Summary
protected KAWTlet()
           
 
Method Summary
abstract  void destroyApp(boolean forced)
          The system wants to destroy this application.
 void notifyDestroyed()
          Notify the system that this application should be terminated.
abstract  void startApp()
          Invoked by the system when the application is started.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentWrapper

public static de.kawt.impl.WrapperInterface currentWrapper
This variable is used to hand the current MIDP or applet wrapper over to the KAWTlet. Please do not access or manipulate this variable.
Constructor Detail

KAWTlet

protected KAWTlet()
Method Detail

startApp

public abstract void startApp()
Invoked by the system when the application is started. If the application is paused, this method may be called more than once. One-time initialization code should be placed in the constructor. Here, the application should request foreground execution by calling Frame.show ().

notifyDestroyed

public void notifyDestroyed()
Notify the system that this application should be terminated. Please call this method instead of System.exit().

destroyApp

public abstract void destroyApp(boolean forced)
The system wants to destroy this application. Please release all system ressources when this method is called.