if (width < 0) { return; }
	public void paint(int x, int y, int width, int height, Graphics g) {		//#ifdef polish.api.nokia-ui			DirectGraphics dg = DirectUtils.getDirectGraphics(g);			if ( this.xCoords[0] != x || this.xCoords[1] != x + width) {				this.xCoords[0] = x;				this.xCoords[1] = x + width;				this.xCoords[2] = x + width;				this.xCoords[3] = x;			}			if ( this.yCoords[0] != y || this.yCoords[2] != y + height ) {				this.yCoords[0] = y;				this.yCoords[1] = y;				this.yCoords[2] = y + height;				this.yCoords[3] = y + height;			}			dg.fillPolygon( this.xCoords, 0, this.yCoords, 0, 4, this.argbColor );		//#elifdef polish.midp2			// on the SE K700 for example the translated origin of the graphics 			// does not seem to used. Instead the real origin is used:			//#ifdef polish.Bugs.drawRgbOrigin				x += g.getTranslateX();				y += g.getTranslateY();			//#endif							// check if the buffer needs to be created:						//#if polish.Bugs.drawRgbNeedsFullBuffer				if (width != this.lastWidth || height != this.lastHeight) {					this.lastWidth = width;					this.lastHeight = height;					int[] newBuffer = new int[ width * height ];					for (int i = newBuffer.length - 1; i >= 0 ; i--) {						newBuffer[i] = this.argbColor;					}					this.buffer = newBuffer;				}			//#else				if (width != this.lastWidth) {					this.lastWidth = width;					int[] newBuffer = new int[ width ];					for (int i = newBuffer.length - 1; i >= 0 ; i--) {						newBuffer[i] = this.argbColor;					}					this.buffer = newBuffer;				}			//#endif			if (x < 0) {				width += x;				if (width < 0) {					return;				}				x = 0;			}			if (y < 0) {				height += y;				if (height < 0) {					return;				}				y = 0;			}			//#if polish.Bugs.drawRgbNeedsFullBuffer				g.drawRGB(this.buffer, 0, width, x, y, width, height, true);			//#else				g.drawRGB(this.buffer, 0, 0, x, y, width, height, true);			//#endif//		//#elif polish.api.nokia-ui//			if (width != this.lastWidth || height != this.lastHeight) {//				this.lastWidth = width;//				this.lastHeight = height;//				this.imageBuffer = DirectUtils.createImage( width, height, this.argbColor );//			}//			//DirectGraphics dg = DirectUtils.getDirectGraphics(g);//			dg.drawImage(this.imageBuffer, x, y, Graphics.TOP | Graphics.LEFT, 0 );		//#else			// ignore alpha-value			g.setColor( this.argbColor );			g.fillRect(x, y, width, height);		//#endif	}