# Swing SpringLayout

SpringLayout class that implements an constraint-based layout manager. With constraint-based layout, you have independent control over the sizing behavior of each of the four sides of a widget. The top, bottom, left, and right sides can be independently attached to the sides of the parent container or the sides of any sibling widget within the same container using either fixed or relative offsets. This proves to be surprisingly powerful and can be used to emulate almost any of the other layout managers. The SpringLayout class is very simple and only specifies the margins of the container.

- Main Features

- Graphical Feedback

## Main Features

- Select SpringLayout from the Layouts palette and drop it on a JFrame or JPanel

- Graphical feedback is provided for all widget size and position operations

## Graphical Feedback

- Position and size widgets using SpringLayout constraints

- Align widgets horizontally and vertically

- Indent widgets intelligently

- Align widgets to margins

- Anchor widgets to the left, right or both sides

- Anchor widgets to the top, bottom or both sides

- Set anchors via popup context menus

- Align and center widgets using toolbar