Write a GUI program that animates a four-colored “beach ball” in place by rotating the colors. The beach ball can be drawn as a solid circle with four different colors in each of the four quadrants of the circle. Use a thread to rotate the colors every quarter second.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.