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

The layout mode for this applet's contentpane is set to java.awt.FlowLayout .

The contentpane is a Container, any Container can have its layout mode set.

FlowLayout means : start at the top, left to right as far as goes, and work your way toward the bottom.

Components get their natural size. A button will be as wide as the label+font on it require, f.e.


A FlowLayout can also be constructed like this :
..... new FlowLayout ( FlowLayout.LEFT, 20, 10 ) ...

Components will be aligned to the left with a horizontal gap of 20 pixels and a vertical one of 10.