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)

Because the SwingX project seems to be discontinued, it is not recommended to use this layout manager.

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.

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