Using VerticalFlowLayout

VerticalFlowLayout arranges the components the same way as FlowLayout, except that it presents the components vertically rather than horizontally. The placement of each component starts at the top-left section of the containers and continues down until it reaches the bottom. After the components reach bottom, the layout manager creates a new column and starts again from the top.

When to Use VerticalFlowLayout

VerticalFlowLayout is typically used to display bottoms on a panel. For example, navigation bottoms may be displayed on a JPanel using this layout manager.

Properties

Using the Inspector you can change properties for the VerticalFlowLayout. These properties, which are discussed in the following sections, will ...

Get Borland® JBuilder™ Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.