This program allows the user to drag a simple FramedBall around the screen. Points are awarded when the ball is placed in the basket. It improves on previous versions of the BasketBall program by using a separate class to define a simple FramedBall.

Note: This demo requires a Java enabled browser. If you see this message then your browser either doesn't support Java or has had Java disabled.

Click below to download the source files for SimpleBBall4One.