Description: 1) The ball is not moving in the window vertically downward at an angle oblique to the next campaign. The ball first to appear in the top of the window can be fixed to a location can appear random (2) the direction of movement through time in the x direction and y direction to get the incremental difference. Can detect the window border, the border will encounter a collision, and along the rational direction. When drawing the ball every time, draw the ball to determine whether the location of the window and down to the left and right borders. If it arrives, it should be by changing the x and y directions of the increments. To change direction.
To Search:
File list (Check if you may need any files):
BounceThread.java