ScrollbarLayout is layout manager which works like a BorderLayout to layout out
scrollbars within a container. ScrollbarLayout, however, is different from
BorderLayout in that it does not stretch the scrollbars in the horizontal positions
to be the width of the component if there is a vertical scrollbar visible.
Scrollbars have to be added in the North, South,
East or West positions in order to be
displayed on one of the edges of the container, similar to BorderLayout.
The actual location of the scrollbars, however, is determined by the location property
which is set during construction of a ScrollbarLayout. The possible
values are: TOP, LEFT, BOTTOM,
RIGHT or a combination of two of these. For example, to
have the scrollbars on the right and at the bottom BOTTOM | RIGHT would
be specified in the constructor.
Constructs a ScrollbarLayout. Default location values are
RIGHT and BOTTOM.
ScrollbarLayout
public ScrollbarLayout(int location)
Contsructs a ScrollbarLayout that places the
scrollbars at location. The possible values for location are TOP,
LEFT, BOTTOM, RIGHT or a combination of two of these.