Are you calling repaint() in the paintComponent() method? If so, that will set up an infinite loop. I was hoping you'd get those details from the Custom Painting Lesson.
Type: Posts; User: GregBrannon
Are you calling repaint() in the paintComponent() method? If so, that will set up an infinite loop. I was hoping you'd get those details from the Custom Painting Lesson.
Don't override the paint() method, ever. Read this article on Custom Painting.