I'd like to have a ball in the rectangle box without holes that i can setup the position,the direction and the power(speed).
Then you can use the start/stop button for the moving.
-simulate the moving of the ball by use the java.swing.timer. class
-create a GUI
-rolling friction
-change the power(speed) when the ball is still moving

Thank you in advance.