import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class h extends MIDlet { public void startApp() { Canv canvas = new Canv(); Display display = Display.getDisplay(this); display.setCurrent(canvas); } public void pauseApp() { } public void destroyApp(boolean unconditional) { notifyDestroyed(); } }