repaint

fun repaint(component: JComponent, tm: Long, x: Int, y: Int, width: Int, height: Int)

Records a repaint of the area at (x, y) of width by height, in component's coordinates, grown to all a change in it repaints: by how far the steps spread a change, such as a blur's or a shadow's reach, held inside the bounds, or to the whole bounds while the steps move what component paints, as a rotating layer does. The grown area is recorded on component with the RepaintManager, as JComponent.repaint records it, without calling component's repaint again. Where Swing paints component as the dirty component, its paintImmediately grows the area again, which paints more pixels and changes none; where Swing merges the area into the repaint of a dirty ancestor, the ancestor paints it as recorded. tm is ignored, as JComponent.repaint ignores it. What repaint(long, int, int, int, int) of a Decoratable answers.