import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class main extends MIDlet { public static main link; public void startApp() { link=this; canvas can=new canvas(); Display.getDisplay(this).setCurrent(can); } public void pauseApp() { } public void destroyApp(boolean unconditional) { } }