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

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

Rehman
Views: 891 | Community Opinion: 1

Tags..  Java Interview  Core Java  Java Methods

Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 
Gormina Said..

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.






What do you think? Add your opinion/answer
*Name
*your opinion/answer: