MSBLayout is a LayoutManager for Java AWT and Swing that combines the nested-boxes approach of BoxLayout with flexible constraints as used by GridBagLayout. A concise API minimizes the code required to get good layouts with optimal resizing behaviour
- A concise API with good defaults so that you get the layout you want with a minimum of code. This makes MSBLayout perfectly suitable for manual coding.
- An API that makes it easy to build layouts dynamically at run-time, e.g. for use with dialogs whose UI elements depend on data read by the program.
- Sensible scaling behaviour when growing the layout above or shrinking it below its preferred size. Because of this feature MSBLayout is a good choice for use with devices that have limited screen space (such as netbooks).
- Making it easy to align components and to give components (especially buttons) equal size to get visually pleasing layouts.