Working with ScrollPaneLayout : ScrollPaneLayout « Swing « Java Tutorial






ScrollPaneLayout Locations

Location                   Data Type       Description          

COLUMN_HEADER              JViewport       Usually empty. If main content is a table, serves as column headers.

HORIZONTAL_SCROLLBAR       JScrollBar      A scrollbar for the main content region.

LOWER_LEFT_CORNER          Component       Usually empty. For a region in the lower-left corner.

LOWER_RIGHT_CORNER         Component       Usually empty. For a region in the lower-right corner.

ROW_HEADER                 JViewport       Usually empty. If main content is a table, serves as row labels.

UPPER_LEFT_CORNER          Component       Usually empty. For a graphic in the upper-left corner.

UPPER_RIGHT_CORNER         Component       Usually empty. For a graphic in the upper-right corner.

VERTICAL_SCROLLBAR         JScrollBar      A scrollbar for the main content region, placed to the right of the 

VIEWPORT                   JViewport       The main content area.








14.47.ScrollPaneLayout
14.47.1.Working with ScrollPaneLayout