I cannot figure out how to make the ball bounce off of the walls. Can anyone help me? I know I need to compare getX() and 0 to see if the ball hits the left edge, and compare getX() and 700-1 to see if it hits the right edge of the screen. Nothing I try works.
