CMIS 141 Lab animation Homework Convert the BouncingTime program into an animation using the appropriate incantations as in the Rosette program. Get the basic animation of a moving circle done first, then add the buttons. See the Bouncing applet as an example. The paint method will not be a loop. Some of its variables need to global variables so they retain their value between each call of the repaint. The actionPerformed method determines which button was pressed and then increases or decreases the value of the animation delay or size variable. Changing the value of the animation delay by itself does not change the timer, you need to do: animationTimer.setDelay(animationDelay); The up, down, left, right buttons nudge the circle's x or y coordinate by 5. Clicking the applet area twice specifies the center and point on the circle of a circle which may in the future become a black hole that destroys the moving circle (thus the nudging buttons to avoid it) . The changing color of the moving circle is when it contacts the black circle; this happens when the distance between the centers of the two circles is less than or equal to the sum of their radiuses. Add the other textfields and buttons.