title: is calling frame.repaint() at the end of the paint() method dangerous?
body: <p>Since repaint() calls paint(), isn't calling repaint() at the end of the paint() method using recursion endlessly? If so, why am I not getting a stack overflow error?</p>