LoadImageApplet

Image image;
public void init() {
    // Load image
    image = getImage(getDocumentBase(), "http://hostname/image.gif");
}
public void paint(Graphics g) {
    // Draw image
    g.drawImage(image, 0, 0, this);
}

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.