import java.io.IOException; import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class LCDui 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) { } }