Copyright (c) SEMM NL All rights reserved.
Author : Paul Hamaker. Part of JavaLessons.com

MouseMotionAdapter implements the MouseMotionListener interface, so it contains the methods.....
mouseDragged and mouseMoved.

We override only mouseDragged.

An instance of MMA is registered initially.

.