`

java.awt.component.repaint()

    博客分类:
  • java
阅读更多
repaint

public void repaint()Repaints this component.

If this component is a lightweight component, this method causes a call to this component's paint method as soon as possible. Otherwise, this method causes a call to this component's update method as soon as possible.

Note: For more information on the paint mechanisms utilitized by AWT and Swing, including information on how to write the most efficient painting code, see Painting in AWT and Swing.


Since:
JDK1.0
See Also:
update(Graphics)
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics