please develop a proagram that moves a circle inside a pane. You should define a pane for displaying the circle and provide the methods for moving the circle left, right, up, and down, as shown in the figure below. Check the boundary to prevent the circle from moving out of sight completely (for example, if the circle almost moving out of sign on the right-handed side, it should reenter into the pane from left-handed side)
[此贴子已经被作者于2018-12-20 23:03编辑过]