import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class PicMIDlet extends MIDlet { private Form form; private Image image; private Display display; public void startApp() { display = Display.getDisplay(this); try { image = Image.createimage("/sc.png"); } catch (IOException ioe) { System.out.println(ioe.getMassage()); } form = new Form("SlideShow"); form.append(image); display.setCurrent(form); } public void pauseApp() { } public void destroyApp(boolean unconditional) { } }