37 Q What is the difference between the paint() and repaint() methods?
Swing AWT Interview Questions
(Continued from previous question...)
37 Q What is the difference between the paint() and repaint() methods?
A 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.
(Continued on next question...)
Other Interview Questions
|