Tuesday, March 10, 2009

What is the difference between the paint() and repaint() methods? (AWT)

Question :What is the difference between the paint() and repaint() methods? (AWT)
Answer :The paint() method supports painting via a Graphics object. The repaint()
method is used to cause paint() to be invoked by the AWT painting thread.

No comments: