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

Java Programming Language >   Fundamentals of Object-Oriented Programming >   About Java Tutorial  

Short Question

2598


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.


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.