/**
* Try loading the icon specified in the properties file
*/
private Icon loadIcon() {
File iconFile = new File(properties.getIconPath());
Icon icon = null;
try {
if (iconFile.exists() && iconFile.canRead()) {
icon = new Icon("image/png", 48, 48, 8, iconFile);
} else {
log.warning("Custom icon " + properties.getIconPath() + " could not be read.");
}
} catch (IOException e) {
log.warning("IO Exception trying to load icon file at " + properties.getIconPath());