1 Download (This Week)
Last Update:
Browse All Files
Windows Mac Linux


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

MSBLayout Web Site


User Interfaces


MIT License


  • 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.

Update Notifications

Additional Project Details

Intended Audience


User Interface

Java AWT, Java Swing

Programming Language



Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.