public void setImage( Image image ) { this.isInitialised = false; this.image = image; if (image != null) { this.imageWidth = this.image.getWidth() + this.paddingHorizontal; this.imageHeight = this.image.getHeight() + this.paddingVertical; } else { this.imageWidth = 0; this.imageHeight = 0; }
public void setImage(String name, Image image) { setImage( image ); repaint();
	public void setImage( Image image ) {		this.isInitialised = false;		this.image = image;		if (image != null) {			this.imageWidth = this.image.getWidth() + this.paddingHorizontal;			this.imageHeight = this.image.getHeight() + this.paddingVertical;		} else {			this.imageWidth = 0;			this.imageHeight = 0;		}			}