<#assign licenseFirst = "/*">
<#assign licensePrefix = " * ">
<#assign licenseLast = " */">
<#include "../Licenses/license-${project.license}.txt">


<#if package?? && package != "">
package ${package};

</#if>

/**
 * @author ${user}
 */
public class ${name} implements javax.microedition.xlet.Xlet {
    /**
     * Default constructor without arguments should be.
     */
    public ${name}() {
    }

    /**
     * Put your initialization here, not in constructor.
     * If something goes wrong, XletStateChangeException
     * should be thrown.
     */
    public void initXlet(javax.microedition.xlet.XletContext context)
        throws javax.microedition.xlet.XletStateChangeException {
        // TODO implement initialization
    }

    /**
     * Xlet will be started here.
     * If something goes wrong, XletStateChangeException
     * should be thrown.
     */
    public void startXlet() throws javax.microedition.xlet.XletStateChangeException {
        // TODO implement
    }

    /**
     * Free resources, stop unnecessary threads, remove
     * itself from the screen.
     */
    public void pauseXlet() {
        // TODO implement
    }

    /**
     * Destroy yout xlet here.
     * If parameter is false, you can try to not destroy xlet
     * by throwing an XletStateChangeException
     */
    public void destroyXlet(boolean unconditional)
        throws javax.microedition.xlet.XletStateChangeException {
        // TODO implement
    }
}
