code: public Dimension getSize() {
  		Dimension size = getComponentModel().size;
  		if (size != null) {
  			return size;
  		}
  		Image image = getImage();
  		if (image != null) {
  			return image.getSize();
  		}
  		return null;
  	}
docs: Retrieve the image size.
  <p>
  Returns the size set via {@link #setSize(Dimension)}. If this has not been set and an image resource is
  provideing the image then the size of the image resource is returned. Otherwise return null.
  </p>
  
  @return the size of the image.