FileDocCategorySizeDatePackage
imageUpdateOver.javaAPI DocExample1120Mon Mar 24 01:59:24 GMT 1997None

imageUpdateOver

public class imageUpdateOver extends Applet

Fields Summary
Image
image
boolean
loaded
Constructors Summary
Methods Summary
public synchronized booleanimageUpdate(java.awt.Image image, int infoFlags, int x, int y, int width, int height)

        if ((infoFlags & ImageObserver.ALLBITS) != 0) {
            loaded = true;
            repaint();
            return false;
        } else {
            return true;
        }
    
public voidinit()

        
        image = getImage (getDocumentBase(), "rosey.jpg");
        prepareImage (image, -1, -1, this);
    
public voidpaint(java.awt.Graphics g)

        if (loaded)
            g.drawImage (image, 0, 0, this);
    
public voidupdate(java.awt.Graphics g)

        paint (g);