In order to run kAWT applications as Applet or MIDlet, they must be derived from the special wrapper class de.kawt.KAWTlet. The KAWTlet works similar to a MIDlet. The HelloKawt.java file demonstrates a minimal implementation. The KAWTlet is invoked by a special wrapper class. The name of the wrapper class is KawtWrapper, where the package name depends on the target platform.
For compatibility, it is recommended to add a simple main metod to the KAWTlet implementation that instantiates the KAWTlet and calls startApp ()
<applet code="de.kawt.impl.j2se.KawtWrapper.class" WIDTH="80" HEIGHT="30"> <param name="KAWTlet" value="HelloKawt"> </applet>
see also: installation instructions for J2MEWTK