import javax.microedition.lcdui.*; import javax.microedition.midlet.*; import javax.microedition.lcdui.Form; import javax.microedition.lcdui.Image; import javax.microedition.lcdui.Display; public class Hello extends MIDlet { private Form form; private Image image; private Display display; public void startApp() { display = Display.getDisplay(this); try { image = Image.createImage("/1.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) {} }