Directions:

Click on Applet to gain focus

Left Mouse Click - Change direction

Right or Left - ball will go in that direction

Space Bar - Stop Ball