11

The java.awt package contains the core AWT graphics classes. The java.awt.event package supports event handling. The java.awt.geom package contains models for a 2D point like x and y axis. In this program the application has a ball that moves and bounces off the edges of a rectangle is designed by using GUI in java. ................
................