The ComponentEvent is known as a low leveled event which indicates
1. Changed Size
2. Component Moved
3. Change Visibility
For sake of notifications, the component events are required. Resizing as well as component moves are handled automatically by AWT. Layout of GUI properly works without taking any special care for all events.
For other events, this is considered to be a base class:
Mouse actions that take place in component are indicated by the MouseEvent. In a particular component, mouse action takes place if there is mouse cursor at the unobscured component parts, when such action occurs.
In case of the lightweight components when mouse event are enabled at component, they are just dispatched to component.
Appropriate EventListener addition to the mouse event takes place to enable them. If they are not enable at component the correspondent mouse
Various event types are generated by AWT application. Application is made efficient & effective by the help of such events. In Java AWT, twelve event types are used. They are: