// we're only supporting 16x16 color icon
if (iconKind == BeanInfo.ICON_COLOR_16x16)
{
// load the thermostat.gif file
java.awt.Image img = loadImage("thermostat.gif");
// return the image
return img;
}
// return null for all other icon formats
return null;