Stop putting ActionListeners inside your paintComponent() method.
Setting the updateTask to a new ActionListener does not set the ActionListener that you passed into the Timer.
All you need to...
Type: Posts; User: KevinWorkman
Stop putting ActionListeners inside your paintComponent() method.
Setting the updateTask to a new ActionListener does not set the ActionListener that you passed into the Timer.
All you need to...
What are you doing in your dummy methods? Specifically, what are you actually setting the color of? Does this even compile?
Recommended reading: Lesson: Performing Custom Painting (The Java™...