Why do you want to use thread pools? You can easily do this with just the Event Dispatch Thread and a worker thread.
Start by writing a program that moves one circle around and draws it. One thread should be responsible for updating the location of the circle, and calling repaint() on the component used to draw the circle.
Joined: Jun 15, 2011
this code runs but not Simultaneously" circle ends its moving and then another one starts . How can make it concurrent ??