HorizontalLayout (SwingX)

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 (SwingX)

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

Layout manager properties

A container with this layout manager has following layout manager properties:

Property Name Description Default
gap The horizontal gap between components. 0