package brydz;
|
|
import javax.microedition.lcdui.*;
|
|
/**
|
*
|
*/
|
public class BrydzMIDlet extends javax.microedition.midlet.MIDlet {
|
protected BrydzForm form = null;
|
protected Display display = null;
|
protected String version = null;
|
|
public void startApp() {
|
if(this.form == null) {
|
this.form = new BrydzForm(this);
|
}
|
if(this.display == null) {
|
this.display = Display.getDisplay(this);
|
}
|
if(this.version == null) {
|
this.version = this.getAppProperty("MIDlet-Version");
|
}
|
this.display.setCurrent(this.form);
|
}
|
|
public void pauseApp() {
|
this.form = null;
|
this.notifyPaused();
|
}
|
|
public void destroyApp(boolean unconditional) {
|
this.notifyDestroyed();
|
}
|
}
|