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