SimpleBeanInfo.loadImage
Class Overview | Class Members |
This Package |
All Packages
public Image loadImage( String resourceName )
Parameters
- resourceName
- A pathname relative to the directory
holding the class file of the current class. For example,
"wombat.gif".
Returns
an image object. May be null if the load failed.
Description
This is a utility method to help in loading icon images.
It takes the name of a resource file associated with the
current object's class file and loads an image object
from that file. Typically images will be GIFs.