super.repaint(tm, x,y,width,height);
Rectangle dirty = new Rectangle(x, y, width, height); Rectangle vis = getVisibleRect(); dirty = dirty.intersection(vis); RepaintManager.currentManager(this).addDirtyRegion(this, dirty.x, dirty.y, dirty.width, dirty.height);
	public void repaint(long tm, int x, int y, int width, int height)	{		//   Adds the specified region to the dirty region list if the component is showing.		//System.out.println("JC: repaint");		super.repaint(tm, x,y,width,height);	}