paint() | repaint() | The paint() method is called when some action is performed on the window. | Whenever a repaint method is called, the update method is also called along with paint() method. |
This method supports painting via graphics object. | This method is used to cause paint() to be invoked by the AWT painting thread. |