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