The horizontal layout manager places components horizontally. The components are stretched vertically to the height of the container. The components will not wrap as in FlowLayout.
HorizontalLayout 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 (or www.swinglabs.org).
Layout manager properties¶
A container with this layout manager has following layout manager properties:
|gap||The horizontal gap between components.||0|