Features

The main features of TableLayout are:

  • Easy to use.
  • Efficient.
  • Inspired by the HTML table element.
  • Text attributes are used to control a component's layout. These are fairly easy to remember, both when creating the layout and when reviewing an existing layout.
  • Attributes can also be set for the table itself.
  • Default component attributes can be set to simplify entry.
  • Can duplicate any layout created with GridBagLayout, but usually with much fewer lines of code.
  • Components are laid out as they are added, with rows added automatically as needed.