posted 21 years ago
Repaint() makes calls to the background painting routines hidden away somewhere in the JVM. Basically, it's just a request for a repaint. repaint() doesn't do an actual repaint for each time it is called because that would actually make painting slower. This would happen if repaint() was called faster than the screen could refresh or that calculations needed for the paint could be computed. So the painting routines queue up the repaint requests and only do repaints as fast as it can.
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.