What is the difference between the paint() and repaint() methods? Ans. 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. - Study24x7
Social learning Network
24 Jan 2024 10:26 AM study24x7 study24x7

What is the difference between the paint() and repaint() methods? Ans. 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.

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles