JAVA bouncing ball with GUI