I have been trawling through the posts trying to find something that could help me with my problem, but nothing quite sets it straight in my mind.
I am a complete newbie to this, hence the posting in this section...
would it be possible for someone to please help me output this image to the screen? its driving me insane

Thanks in advance.
package phone;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.lcdui.game.GameCanvas;
import java.io.*;
public class Midlet extends MIDlet {
private Display display;
Image pic = null;
public void startApp() {
ImageItem image;
try{
pic = Image.createImage("pic.png");
}
catch(IOException e)
{;}
}
public void paint(Graphics g){
g.drawImage(pic, 10, 10, Graphics.TOP|Graphics.LEFT);
//g.drawRect(5,5,20,20);
}
public void pauseApp() {
}
public void destroyApp(boolean unconditional) {
}
}



