The vertical layout manager places components vertically. The components are stretched horizontally to the width of the container.
Because the SwingX project seems to be discontinued, it is not recommended to use this layout manager.
VerticalLayout is part of the SwingX open source project and not part of the standard Java distribution. You must ship an additional library with your application. The JFormDesigner distribution does not include the SwingX library.
Layout manager properties¶
A container with this layout manager has following layout manager properties:
|gap||The vertical gap between components.||0|