The MouseAdapter class implements the methods of MouseListener
with empty functions. It may be easier for you to extend MouseAdapter,
overriding only those methods you are interested in, than to implement
MouseListener and provide the
empty functions yourself.