Tuesday, 14 February 2012

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

Main diff are there :
  1.  The paint() method : Its supports painting via a Graphics object.
  2.  The Repaint() method : It is used to cause paint() to be invoked by the AWT painting thread.