Component.repaint

Component.repaint

Class Overview | Class Members | This Package | All Packages

Syntax 1
public void repaint()
Description
Repaints this component.

This method causes a call to this component's update method as soon as possible.

See Also
update



Syntax 2
public void repaint( long tm )
Parameters
tm
maximum time in milliseconds before update
Description
Repaints the component. This will result in a call to update within tm milliseconds.

See Also
paint, update



Syntax 3
public void repaint( int x, int y, int width, int height )
Parameters
x
the x coordinate.
y
the y coordinate.
width
the width.
height
the height.
Description
Repaints the specified rectangle of this component.

This method causes a call to this component's update method as soon as possible.

See Also
update



Syntax 4
public void repaint( long tm, int x, int y, int width, int height )
Parameters
tm
maximum time in milliseconds before update.
x
the x coordinate.
y
the y coordinate.
width
the width.
height
the height.
Description
Repaints the specified rectangle of this component within tm milliseconds.

This method causes a call to this component's update method.

See Also
update