code: protected Component createContentPane() {
  		Image image = getImage();
  		if (image != null) {
  			return new ImageCanvas(image);
  		}
  		return null;
  	}
docs: Returns a component that displays an image in a canvas.