Example usage for javax.swing ImageIcon getImageObserver

List of usage examples for javax.swing ImageIcon getImageObserver

Introduction

In this page you can find the example usage for javax.swing ImageIcon getImageObserver.

Prototype

@Transient
public ImageObserver getImageObserver() 

Source Link

Document

Returns the image observer for the image.

Usage

From source file:Main.java

public static void main(String[] argv) throws Exception {

    ImageIcon icon = new ImageIcon("image.gif");
    icon.setDescription("Description of Image");

    System.out.println(icon.getImageObserver());
}