FileDocCategorySizeDatePackage
DelayedImageView.javaAPI DocExample716Sat Sep 09 20:32:26 BST 2000None

DelayedImageView

public class DelayedImageView extends Applet

Fields Summary
private Image
picture
Constructors Summary
Methods Summary
public booleanimageUpdate(java.awt.Image img, int infoflags, int x, int y, int width, int height)

  
    if ((infoflags & ImageObserver.ALLBITS) == ImageObserver.ALLBITS) {
      this.repaint();
      return false;
    }
    else {
      return true;
    }
  
  
public voidinit()

    this.picture = this.getImage(this.getDocumentBase(), "cup.gif");
  
public voidpaint(java.awt.Graphics g)

  
    
    if(!g.drawImage(this.picture, 0, 0, this)) {
      g.drawString("Loading Picture. Please hang on", 25, 50);
    }