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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.