Browse Prior Art Database

A Java* layout manager with variable column widths and/or variable row heights

IP.com Disclosure Number: IPCOM000015049D
Original Publication Date: 2001-Nov-16
Included in the Prior Art Database: 2003-Jun-20

Publishing Venue

IBM

Abstract

The normal Java* Awt layout managers give the ability to layout components in a frame or panel. The most common layout managers are Grid and GridBag. These have drawbacks when trying to render components and maintain a consistent size/look and feel of components as the aspect ratio of the window or frame changes. Therefore a new layout manager is needed that maintains the aspect of the components as the owning frame is re-sized. This Layout manager allows for variable column widths and/or variable row heights (Grd layout for example makes all components the same size), it re-calculates the bounding dimensions of the components that requested variable width or height, but not those that did not. A new algorithm is implemented and a new Java Layout manager is created. This layout manager can be used, for example, in an administration application. The programming style is exactly the same as that used for the Awt Grid layout manager except that this layout manager will not make all components the same size. See following screen shots. An example of the screen layout of the Administration window using the standard Grid layout manager: