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=get.display(this); Try { image=createimage("/sc.png"); } catch (IO Exception ioe) System.out.println(ioe.getMassage()); Form=newForm("SlideShow"); Form.append(image); Display.setCurrent(form); } public void pauseApp() { } public void destroyApp(boolean unconditional) { } }