FlowLayout layout = new FlowLayout();
// Show that the width is calculated using the formula:
// w += 2 * hgap + ins.left + ins.right
// when there are no components in container.
harness.check(layout.minimumLayoutSize(container), new Dimension(10, 10));
// Show that the width is calculated using the formula:
// w += (num + 1) * hgap + ins.left + ins.right;
// when there is one or more components in container.
container.add(new Button());