List of usage examples for javax.swing ImageIcon toString
public String toString()
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.toString()); }