JGoodies Forms 1.0.5 API

This document describes the API of the JGoodies Forms, a framework that helps you lay out and implement elegant Swing panels quickly and consistently.

See:
          Description

Packages
com.jgoodies.forms.builder Contains optional builder classes of the Forms framework.
com.jgoodies.forms.debug Consists of optional classes that help you find, understand and fix layout problems
com.jgoodies.forms.extras Contains optional Forms framework classes that ship only with the JGoodies Forms source distribution and are not yet part of the binary Forms library.
com.jgoodies.forms.factories Consists of optional Forms framework factory classes that assist you in building consistent forms quickly
com.jgoodies.forms.layout Contains the core classes of the JGoodies Forms framework: layout manager, column and row specifications, sizes and cell constraints
com.jgoodies.forms.util Consists of Forms framework helper classes for unit conversion and layout styles

 

This document describes the API of the JGoodies Forms, a framework that helps you lay out and implement elegant Swing panels quickly and consistently. Forms makes simple things easy and the hard stuff possible, the good design easy and the bad difficult.

Forms requires Java 1.4 or later. A version for Java 1.3 is here.

Getting Started

Forms ships with a tutorial and tutorial sources. The compiled tutorial is available as Forms Demo. And you can find more examples at www.JGoodies.com/freeware. As a next step you can study the JGoodies articles and presentations.

Open Issue

There's a weakness in the FormLayout that may require an API extension. Components that span multiple columns or rows do not affect the column width or row height resp., but can in some cases expand the container.
I'm looking for a means to let the layout grid honor these components that is both powerful and easy to understand. See item #3.5 in the accompanying FAQ for details and a workaround.

Acknowledgements

The Forms project has been financed by Johannes Riege, the Java desktop team at Sun Microsystems and customers of the JGoodies Swing Suite. It is only with their money that I can provide, maintain, and improve this library at no charge.

FormLayout has been inspired by Mullet&Sano's grid system, Daniel Barbalace's TableLayout, Daniel Michalik's HIGLayout, and Doug Stein's GridBagLayout. The concept of dialog units stems from Microsoft user interface implementations.

You can Help

If you save time and money using the JGoodies Forms, you may help me finance my Java desktop activities by licensing the commercial JGoodies Swing Suite.



Copyright © 2002-2004 JGoodies Karsten Lentzsch. All Rights Reserved.