in adapter class it is sufficient to include only the methods require to override
Answers
Answered by
1
Answer:
It has five methods, mouse clicked, mouseExited, mouseEntered, mousePressed, and mouseReleased.
Answered by
1
Mouse clicked, mouseExited, mouseEntered, mousePressed, and mouseReleased are the five techniques available.
- The standard implementations of any and all functions in an events listener interface is provided by an adapter class.
- When you just want to process a subset of the events handled by a given event listener interface, adapter classes come in handy.
- A matching event adapter class implements the interface and specifies each method in the standard with an empty method body for event listener interfaces with more than one method.
Similar questions