The vertical layout manager places components vertically. The components are stretched horizontally to the width of the container.
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. For downloads, documentation and tutorials, visit swingx.java.net.
Layout manager properties¶
A container with this layout manager has following layout manager properties:
|gap||The vertical gap between components.||0|