FileDocCategorySizeDatePackage
ObserveImage.javaAPI DocExample406Mon May 01 14:42:04 BST 2000None

ObserveImage

public class ObserveImage extends Applet

Fields Summary
Image
img
Constructors Summary
Methods Summary
public voidinit()

    img = getImage( getClass(  ).getResource(getParameter("img")) );
    MyObserver mo = new MyObserver(  );
    img.getWidth( mo );
    img.getHeight( mo );
    prepareImage( img, mo );
  
public voidpaint(java.awt.Graphics g)

    g.drawImage(img, 0, 0, null);