Copyright (c) SEMM NL All rights reserved.
Author : Paul Hamaker. Part of JavaLessons.com
In the main class ....
an instance is created
and added to the contentpane.
The component's drawing.
Its preferred size.
Taking care of its own affairs.
The main class also handles the component's mouse entry event.