ImageIcon

Class ImageIcon

All Implemented Interfaces:
Serializable, Accessible, Icon
public class ImageIcon
extends Object
implements Icon, Serializable, Accessible

An implementation of the Icon interface that paints Icons from Images. Images that are created from a URL, filename or byte array are preloaded using MediaTracker to monitor the loaded state of the image.

For further information and examples of using image icons, see 登录查看完整内容