Bouncing ball to test java.awt and java.swing