import javax.microeditions.midiet.MIDIet; public class Photomidlet extends MIDlet import javax.microedition.lcdui.Form; import javax.microedition.lcdui.Image; import javax.microedition.lcdui.Display; private Form form; private Image image; private Display display; public void startApp(){ display=Display.getDisplay(this); try{ image=Image.createImage("/thunder.png"); } catch (IOException ioe){ System.out.println(ioe.getMessage()); } form=new Form("SlideShow"); form.append(image); display.setCurrent(form); } { public void pauseApp() } public void destroyApp(boolean unconditional){ notifyDestroyed(); } } }