Description: This example will produce a small rolling disc animation, examples of the implementation of cases, it will create a composition of two colors from the blue panel on which there is a stationary black disk. When you click on start button, the disc began to roll when you come into contact with the boundary rebound, when click the stop button, the disc stop exercising. Knowledge points in this instance are: use Java2D techniques to draw the graph. How to control the animation thread.
To Search:
File list (Check if you may need any files):
Checkers.class
Checkers.java
练习46滚动的圆盘.doc