The frameBorderLayout component is a layout element for frames, supporting 11 named children that arrange frame child components in predefined, named areas. Each frameBorderLayout named child can contain one frame only. The frameBorderLayout named children (or named areas) are:
bottom - Lays out a frame at the bottom of the center
frame.
center - Lays out a center frame. This must be specified.
end - Lays out a frame to the right of the center frame.
If the reading direction is from right to left, lays out a frame to
the left of the center frame.
innerEnd - Lays out a frame in the same area as
innerRight. If the reading direction is from right to left,
lays out a frame in the same area as defined by innerLeft.
innerLeft - Lays out a frame between the left frame and
center frame.
innerRight -Lays out a frame between the right frame and
center frame.
innerStart - Lays out a frame in the same area as defined
by innerLeft. If the reading direction is from right to
left, lays out a frame in the same area as defined by innerRight
.
left - Lays out a frame to the left of the center frame.
right - Lays out a frame to the right of the center frame.
start - Lays out a frame to the left of the center frame.
If the reading direction is from right to left, lays out a frame to
the right of the center frame.
top - Lays out a frame at the top of the center frame.
Notes:
frameBorderLayout component must be added inside a
document component; it cannot be used inside a pageLayout
component.
alternateContent named child to provide non-frame
content for browsers that do not support frames.
center, use the width
attribute to specify the frame's width.
right has
precedence over end when both end and
right are used. Similarly, left has precedence
over start when both start and left
are used. The same is true for innerEnd and innerRight
, and innerStart and innerLeft.
right has
precedence over start when both start and
right are used. Similarly, left has precedence over
end when both end and left are used.
The same is true for innerEnd and innerLeft,
and innerStart and innerRight.
Inserting a Frame in a Named Area
Using FrameBorderLayout
Inserting Alternate Content in a FrameBorderLayout
Working with Layout Components
Copyright © 1997, 2004, Oracle. All rights reserved.