Java Reference
In-Depth Information
Prior last: 15
Current: 112
Last: 15
Prior last: 112
■
Note
The
BOTTOM
,
DIVIDER
,
LEFT
,
RIGHT
, and
TOP
constants of the
JSplitPane
class aren't for
PropertyChangeListener
support. Instead, they're internal constraints used by the
add(Component
component, Object constraints)
method.
Customizing a JSplitPane Look and Feel
Each installable Swing look and feel provides a different
JSplitPane
appearance and set of
default
UIResource
values for this component. Figure 11-9 shows the appearance of the
JSplitPane
container for the preinstalled set of look and feel types: Motif, Windows, and Ocean.
Figure 11-9.
JSplitPane under the different look and feel types
The available set of
UIResource
-related properties for a
JSplitPane
is shown in Table 11-3.
For the
JSplitPane
component, there are 25 different properties, including 3 specific to the divider.