Java Reference
In-Depth Information
•
JFormattedTextField
: This component provides for the input of formatted text, like
numeric values, phone numbers, dates, or social security numbers. Figure 1-8 shows
two examples of this component.
Figure 1-8.
The Swing JFormattedTextField
•
JTable
: This component provides for the display of two-dimensional row and column
information, such as stock quotes, as in the example shown in Figure 1-9.
Figure 1-9.
The Swing JTable
•
JTree
: This component supports the display of hierarchical data. Figure 1-10 shows an
example of a
JTree
component.
Figure 1-10.
The Swing JTree
•
JToolTip
: Through this component, all Swing components support pop-up text for
offering useful tips. Figure 1-11 shows an example of a
JToolTip
component added to
a
JSlider
.