g.drawImage(this.image, rightBorder, y, Graphics.TOP | Graphics.RIGHT );
g.drawImage(this.image, x + this.contentWidth, y, Graphics.TOP | Graphics.RIGHT );
	public void paintContent(int x, int y, int leftBorder, int rightBorder, Graphics g) {		if (this.image != null) {			if (this.imageAlign == Graphics.LEFT ) {				g.drawImage(this.image, x, y, Graphics.TOP | Graphics.LEFT );				x += this.imageWidth;				leftBorder += this.imageWidth;				y += this.yAdjust;			} else if (this.imageAlign == Graphics.RIGHT ) {				g.drawImage(this.image, rightBorder, y, Graphics.TOP | Graphics.RIGHT );				rightBorder -= this.imageWidth;				y += this.yAdjust;			} else if (this.imageAlign == Graphics.TOP ) {				int centerX = leftBorder + ((rightBorder - leftBorder) / 2);				//System.out.println("left: " + leftBorder + "  right: " + rightBorder + "  contentWidth: " + this.contentWidth);				//System.out.println("x: " + x + "  centerX: " + centerX );				g.drawImage(this.image, centerX, y, Graphics.TOP | Graphics.HCENTER );				y += this.imageHeight;			} else {				// imageAlign == Graphics.BOTTOM				int centerX = leftBorder + ((rightBorder - leftBorder) / 2);				int bottomY = y + this.contentHeight;				g.drawImage(this.image, centerX, bottomY, Graphics.BOTTOM | Graphics.HCENTER );			}		}		super.paintContent(x, y, leftBorder, rightBorder, g);	}