Hi I making a small paint applet... and in my init method I got something like this...
public void init()
g = this.getGraphics();
imgURL = this.getDocumentBase();
img = this.getImage(imgURL,"train.jpg");
and want to draw a background image on the canvas with:
g.drawImage(imgURL, 0, 0, ImageObserver observer)
But How can I make a new ImageObserver, what does that do? I dont get it from the API.