public void paint(Graphics g) {
		Component imageObserver = getComponent();
		if (imageObserver == null) imageObserver = MediaTools.getImageObserver();
		if (myImage != null && imageObserver != null) {
			Rectangle r = getAWTBounds();
			Color color = getObjectColor();
			if (color == null) {
				g.drawImage(myImage, r.x, r.y, r.width, r.height, imageObserver);
			} else {
				g.drawImage(myImage, r.x, r.y, r.width, r.height, color, imageObserver);
			}
		}
	}