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

Essential stuff.

In the main class ....

an instance is created

and added to the contentpane.

The component's drawing.

Its preferred size.

Not transparent.

Taking care of its own affairs.

The main class also handles the component's mouse entry event.

.