[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


Java Swing Components

Table 14.2 describes the components that belong to the Java Swing Components catalog. Many of these components are similar to those in the AWT Components catalog, but are more extensively configurable. The icons shown in the following table are displayed in the Component Palette and Component Catalog window.

Java Swing components:

Icon
Description
 
JButton-represents a button in the user interface that you click to yield a result  
 
JCheckBox-represents a checkbox option that you enable or disable  
 
JComboBox-represents a combination box that lets you select options either by typing the option's name or by choosing the option from a pop-up list  
 
JEditorPane-represents an editing pane that adapts its characteristics to the required editing task  
 
JLabel-represents an area of text that identifies or describes other user interface elements  
 
JList-represents a scrollable list from which you choose one or more options  
 
JMenuBar-displays an icon in the layout window, but not in the actual application. Double-click the icon to open the Menu Editor.  
 
JOptionPane-displays a dialog box that alerts the user, asks for additional input, or provides information  
 
JPanel-represents a means by which to organize arrangements of user interface elements  
 
JPasswordField-represents a single line of text that lets you enter passwords without displaying onscreen the actual characters you type  
 
JPopupMenu-displays an icon in the layout window, but not in the actual application. Double-click the icon to open the Pop-up Menu Editor.  
 
JProgressBar-represents the visual display of a bar whose size grows in proportion to the percentage of a task being completed  
 
JRadioButton-represents a radio button that you enable or disable, one at a time  
 
JScrollBar-represents a scrollbar in the user interface that is used to adjust options  
 
JScrollPane-represents a pane that can create scrollbars along its edges when entered text exceeds the pane's boundaries  
 
JSlider-represents an onscreen mechanism, in the form of a slider control, for choosing options  
 
JSplitPane-represents a means by which to control the size and display of two user interface elements  
 
JTabbedPane-represents a pane divided into several parts, with each part accessible through a tab control  
 
JTable-represents a table of rows and columns  
 
JTextArea-represents an area in the user interface that lets you enter multiple lines of text  
 
JTextField-represents an area in the user interface that lets you enter a single line of text  
 
JTextPane-represents an area of text with graphical attributes  
 
JToggleButton-represents a button that has two possible states  
 
JToolBar-represents a toolbar in the layout window  
 
JTree-represents a hierarchical control in the user interface  


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000