Adding Style to components displayed under control of the awt layout manager
Original Publication Date: 2001-Sep-16
Included in the Prior Art Database: 2003-Jun-20
Allowing greater control over how components are rendered into a Java* panel using a layout manager by applying a style string to provide additional control over the rendering process: The Style string provides information allowing for: exact placement of the component using the next available position using the component preferred size using the current column width show component using no more than current column width using the row height show component using no more that current row height using the remaining column width (i.e. last component in row) using the remaining row height (i.e. last component in column) This requires a new class/object to hold the rendering style that is held by the layout manager along with the reference to the component that is to be rendered. A new class is created that holds a rendering style string, the class also holds the current calculated value for x, y coordinates and width and height.