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.
The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
Joined: Jun 15, 2011
this code runs but not Simultaneously" circle ends its moving and then another one starts . How can make it concurrent ??