A Visual Guide To Swing Components (Java Look and Feel) : Basic Controls
A Visual Guide To Swing Components (Java Look and Feel) : Basic Controls
Basic Controls
Simple components that are used primarily to get input from the user; they may also show simple state.
JButton
JCheckBox
JComboBox
JList
JMenu
JRadioButton
JSlider
JSpinner
JTextField
JPasswordField
JColorChooser
JEditorPane
JFileChooser
JTable
JTextArea
JTree
JLabel
JProgressBar
JSeparator
JToolTip
Top-Level Containers
At least one of these components must be present in any Swing application.
JApplet
JDialog
JFrame
General-Purpose Containers
These general-purpose containers are used in most Swing applications.
JPanel
JScrollPane
JSplitPane
JTabbedPane
JToolBar
Special-Purpose Containers
These special-purpose containers play specific roles in the UI.
JInternalFrame
JLayeredPane
Root pane See the Using JavaFX UI Controls tutorial for more information about GUI components in JavaFX.
Basic Controls
Simple components that are used primarily to get input from the user; they may also show simple state.
JButton
JCheckBox
JComboBox
JList
JMenu
JRadioButton
JSlider
JSpinner
JTextField
JPasswordField
JColorChooser
JEditorPane
JFileChooser
JTable
JTextArea
JTree
JLabel
JProgressBar
JSeparator
JToolTip
Top-Level Containers
At least one of these components must be present in any Swing application.
JApplet
JDialog
JFrame
General-Purpose Containers
These general-purpose containers are used in most Swing applications.
JPanel
JScrollPane
JSplitPane
JTabbedPane
JToolBar
Special-Purpose Containers
These special-purpose containers play specific roles in the UI.
JInternalFrame
JLayeredPane
Root pane
See the Using JavaFX UI Controls tutorial for more information about GUI components in JavaFX.