import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class main extends MIDlet { public Point point; public void startApp(){ if (point == null) { point = new Point(); } Display.getDisplay(this).setCurrent(point); } public void pauseApp(){} public void destroyApp(boolean flag){} }