import javax.microedition.midlet.MIDlet; import javax.microedition.lcdui.Form; import javax.microedition.lcdui.Image; import javax.microedition.lcdui.Display; import java.io.IOException; public class ZZ extends MIDlet { public void pauseApp(){} public void destroyApp(boolean unconditional){notifyDestroyed();} private Form form; private Image image; private Display display; public void startApp(){ display=Display.getDisplay(this); try{ image=Image.createImage("/flower.png"); } catch (IOException ioe){ } form=new Form("SlideShow"); form.append(image); display.setCurrent(form); } }