private Icon createIcon(IconValues icon) {
		String path = "";
		switch (icon) {
			case OK:
				path = "ok.png";
				break;
			case CANCEL: case ERROR:
				path = "cancel.png";
				break;
			case INFO:
				path = "info.png";
				break;
			case WARNING:
				path = "warning.png";
				break;
			case QUESTION:
				path = "helpround.png";
		}
		URL imgUrl = getClass().getResource(path);
		if (imgUrl != null) {
			return new ImageIcon(imgUrl);
		} else {
			log.warn("Couldn't find the icon image file: {}", path);
			return null;
		}
	}