# Image

Specifies the file name of the image displayed on the component along with the text label you specified. This property is optional. When the GUI Builder builds the panel, the image is found by using the file name and searching relative to where the GUI Builder started. For example, if the GUI Builder started from c:\mydirpanel and you specify ../img/myimage.gif as the file parameter for the image, the image is only loaded from the c:\mydirpanel\img subdirectory. You can also click the browse button to find the image file.

When you preview a panel that contains an image referenced by Image, the image is found by using the CLASSPATH environment variable. This is also true when you display the panel by using the runtime framework.