AWT Event Adapters

  • Post author:
  • Post category:AWT
  • Post comments:4 Comments
Adapters

Adapters are abstract classes for receiving various events. The methods in these classes are empty. These classes exists as convenience for creating listener objects.

AWT Adapters:

Following is the list of commonly used adapters while listening GUI events in AWT.

Sr. No.Adapter & Description
1FocusAdapter
An abstract adapter class for receiving focus events.
2KeyAdapter
An abstract adapter class for receiving key events.
3MouseAdapter
An abstract adapter class for receiving mouse events.
4MouseMotionAdapter
An abstract adapter class for receiving mouse motion events.
5WindowAdapter
An abstract adapter class for receiving window events.

This Post Has 4 Comments

Leave a Reply