MouseListener class

The code in Listing 14 extends  the MouseAdapter class.

It does not implement the MouseListener interface directly.

Saves us trouble of having to create empty methods for event types that we are not interested in.

File: ed.htm [Next] [Prev]