FileDocCategorySizeDatePackage
ImageView.javaAPI DocExample424Thu Apr 03 15:17:38 BST 1997None

ImageView

public class ImageView extends Applet

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

  
    try {
      URL u = new URL(getCodeBase(), getParameter("Image"));
      theImage = getImage(u);
    }
    catch (MalformedURLException e) {
      System.err.println(e);
    }
   
  
public voidpaint(java.awt.Graphics g)

    g.drawImage(theImage, 0, 0, this);