FileDocCategorySizeDatePackage
drawingImages.javaAPI DocExample802Mon Mar 24 02:01:26 GMT 1997None

drawingImages

public class drawingImages extends Applet

Fields Summary
Image
i
Image
j
Constructors Summary
Methods Summary
public voidinit()

        i = getImage (getDocumentBase(), "rosey.jpg");
        j = getImage (getDocumentBase(), "rosey.gif");
    
public voidpaint(java.awt.Graphics g)

        g.drawImage (i, 0, 0, this);
        g.drawImage (i, 10, 85, 150, 200, this);
        g.drawImage (j, 270, 10, Color.lightGray, this);
        g.drawImage (j, 270, 85, 150, 200, Color.lightGray, this);