Java Reference
In-Depth Information
Figure 1-11.
The Swing JToolTip
•
JToolBar
: This container offers a draggable toolbar to be included within any program
window, as shown in Figure 1-12.
Figure 1-12.
The Swing JToolBar
•
JRadioButtonMenuItem
: This component is an addition to the set of menu components.
With it, you can have radio buttons on a menu for mutually exclusive choices, as shown
in the example in Figure 1-13. There's also a
JCheckBoxMenuItem
component, for when
you don't need mutually exclusive choices.
Figure 1-13.
The Swing JRadioButtonMenuItem
•
JSeparator
: The menu's separator bar is now its own component and can be used
outside of menus, too, as shown in Figure 1-14.
Figure 1-14.
The Swing JSeparator
•
JDesktopPane
and
JInternalFrame
: This pair of components allows you to develop appli-
cations using the familiar Windows Multiple Document Interface (MDI). Figure 1-15
shows an example.