Java Reference
In-Depth Information
Table 11-3.
JSplitPane UIResource Elements
Property String
Object Type
SplitPane.actionMap
ActionMap
SplitPane.activeThumb
Color
SplitPane.ancestorInputMap
InputMap
SplitPane.background
Color
SplitPane.border
Border
SplitPane.centerOneTouchButtons
Boolean
SplitPane.darkShadow
Color
SplitPane.dividerFocusColor
Color
SplitPane.dividerSize
Integer
SplitPane.foreground
Color
SplitPane.highlight
Color
SplitPane.leftButtonText
String
SplitPane.oneTouchButtonOffset
Integer
SplitPane.oneTouchButtonSize
Integer
SplitPane.oneTouchButtonsOpaque
Boolean
SplitPane.oneTouchExpandable
Boolean
SplitPane.oneTouchOffset
Integer
SplitPane.rightButtonText
String
SplitPane.shadow
Color
SplitPane.size
Integer
SplitPane.supportsOneTouchButtons
Boolean
SplitPaneDivider.border
Border
SplitPaneDivider.draggingColor
Color
SplitPaneDivider.oneTouchButtonSize
Integer
SplitPaneUI
String
JTabbedPane Class
The
JTabbedPane
class represents the ever-popular property sheet to support input or output
from multiple panels within a single window in which only one panel is shown at a time. Using
JTabbedPane
is like using the
CardLayout
manager, except with added support for changing
cards built in. While
CardLayout
is a
LayoutManager
,
JTabbedPane
is a full-fledged
Container
. In
case you're not familiar with property sheets, tabbed dialog boxes, or tabbed panes (all alternate
names for the same thing), Figure 11-10 shows a set of tabs from the original SwingSet demo