Projects / table2gridbag

table2gridbag

Table2gridbag is a tool for configuring java.awt.GridBagLayout. Java's AWT GridBagLayout is a very versatile layout manager. Unfortunately, it is also very difficult to configure. Table2gridbag allows you to specify a GUI layout by means of an HTML table (with the component names in the table cells) and then transforms this specification into equivalent Java code.

Implementation

Recent releases

  •  15 Oct 2010 16:07

    Release Notes: Support was added for specifying the output classname within the layout code via the caption tag.

    •  20 Sep 2010 11:31

      Release Notes: The import statements in generated code were fixed to include java.awt.Container. This was causing trouble when automatically generating components to fill empty table cells. As a new feature, generated code now includes a create(Object) builder method. This method takes an object and uses reflections to extract the components (by name) that the layout specifies. This, of course, requires that this object declares the components by these names as public or protected fields.

      •  13 Sep 2010 16:24

        Release Notes: This release adds a -Dextends property to control which class generated code extends.

        •  02 May 2010 15:30

          Release Notes: Improved usability and more control over how code gets generated.

          •  26 Mar 2010 20:14

            Release Notes: User interface improvements and cleanups.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.