Bouncing ball to test AWT API