Need help making ball move and bounce off of sides of JPanel

Printable View