Question: Make a java program that that abstractly shows a ball player running the base paths in the shape of a pseudo diamond. Use 2 panels,
Make a java program that that abstractly shows a ball player running the base paths in the shape of a pseudo diamond. Use 2 panels, the middle will be the graphics area and the bottom panel will be where you control the graphics/animation. There will be a start button on the leftmost side, the middle will have a label that says "speed", and a section to input the speed of the ball player running around the diamond, and a quit button on the right most of the second panel. When the start button is clicked, make it turn into the pause button when the animation is running. (Ball traveling through 4 sides of a "diamond" at the speed given in the lower input panel.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
