import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class EggCatch extends MIDlet{ Canvas canvas=new EggCanvas(); protected void startApp() throws MIDletStateChangeException{ Display.getDisplay(this).setCurrent(canvas); } protected void pauseApp(){} protected void destroyApp(boolean kohustus) throws MIDletStateChangeException{} }