Java Swing
Swing is a Java Foundation Classes (JFC) library and an extension of the Abstract Window Toolkit (AWT)
★ DIFFERENCE! | |
SWING CLASSES HIERARCHY |
COMPONENTS OF SWING CLASS |
Class | Description |
Components | abstract base class for non-menu user-interface controls of Java SWING; representing an object with a graphical representation |
Container | can contain Java SWING Components |
JComponent | base class for all swing UI Components |
JLabel | for placing text in a container |
JButton | creates labeled button |
JColorChooser | provides pane of controls designed to allow user to manipulate and select a color |
JCheckBox | graphical (GUI) component that can be either an on-(true) or off-(false) state |
JRadioButton | graphical (GUI) component that can be in either an on-(true) or off-(false) state in the group |
JList | represents the user with the scrolling list of text items |
JComboBox | presents the user with a show up menu of choices |
JTextField | text component that will allow for the editing of a single line of text |
JPasswordField | text component specialized for password entry |
JTextArea | text component that allows for the editing of multiple lines of text |
ImageIcon | implementation of the icon interface that paints icons from images |
JScrollBar | represents a scroll bar component in order to enable users to select from range values |
JOptionPane | provides set of standard dialog boxes that prompt users for a value or something |
JFileChoose | represents a dialog window form which the user can select a file |
JProgressBar | displays the tasks percentage on its completion |
JSlider | letting the user graphically (GUI) select by using a value by sliding a knob within a bounded interval |
JSpinner | single line input where the field that lets the user select by using a number or an object value from an ordered sequence |