FileDocCategorySizeDatePackage
showImage.javaAPI DocExample653Thu Apr 03 15:20:06 BST 1997None

showImage

public class showImage extends Applet

Fields Summary
Image
thePicture
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) {
      repaint();
      return false;
    }
    else {
      return true;
    }
  
  
public voidinit()


    thePicture = getImage(getDocumentBase(), "logo.gif");
  
  
public voidpaint(java.awt.Graphics g)

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