<<< Swing vs. JFC | Index | The Swing Class Hierarchy >>> |
JButton is an implementation of a push button.
Buttons can be decorated with text or a graphic icon.
JFrame is a top-level window with a captioned title and a border.
A frame is used to represent the application.
JLabel is a display area for a short length text string.
Labels are often used alongside input text areas to document their purpose.
JMenuBar represents a menu-bar as might appear at the top of a frame.
JPanel is a general-purpose container frequently used to group other components.
JTextArea is a multi-line text area for presenting plain text.
JTextField is a component that permits the editing of a single line of text.
<<< Swing vs. JFC | Index | The Swing Class Hierarchy >>> |