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

The default contentpane is a JComponent. (Actually, a JPanel)

Set its borders as insets.

Top, left, bottom, right.

Add a label so it fills up the entire available space.

.