Java Reference
In-Depth Information
Table 17.1 (Continued)
SWT widget
Analogous Swing
component
Description
Window that is managed by the OS window
manager. A Shell may be a child of a
Display or another shell.
Shell
JPanel
Widget that represents a range of numeric
values. Differs from a Scale by having a
“thumb” to change the value along the range.
Slider
JSlider
Composite widget that groups pages that can
be selected by the user using labeled tabs.
TabFolder
JTabPane
Any JComponent
Selectable user interface object corresponding
to a tab for a page in a tab folder.
TabItem
A selectable widget that displays a list of table
items that can be selected by the user. Rows
are items, columns are attributes of items.
Table
JTable
Selectable widget that represents a column in
a table.
TableColumn
JTableColumn
or instance of
TableColumnModel
TableCellRenderer or
TableCellEditor
Selectable widget that represents an item in a
table.
TableItem
JTextField ,
JPasswordField ,
JFormattedTextField ,
JTextArea ,
JEditorPane , JTextPane
Editable widget that allows the user to type
text into it.
Text
Composite widget that supports the layout of
selectable toolbar items.
ToolBar
Selectable widget that represents an item in a
toolbar.
ToolItem
JButton
A selectable widget that displays a hierarchical
list of user-selectable tree items.
Tree
JTree
Selectable user interface object that represents
a hierarchy of items in a tree.
TreeItem
MutableTreeNode
Search WWH ::




Custom Search