import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import java.io.IOException; public class tt extends MIDlet { public void pauseApp() { } public void destroyApp(boolean unconditional) { notifyDestroyed(); } public void startApp() { Display display = Display.getDisplay(this); try { Image image = Image.createImage("/img.png"); } catch(IOException ioe) { System.out.println(ioe.getMessage()); } Form form = new Form("treut"); form.append(image); display.setCurrent(form); } }