0% found this document useful (0 votes)
76 views15 pages

A Visual Guide To Swing Components (Java Look and Feel) : Basic Controls

This document provides a visual guide to Swing components in the Java look and feel. It groups the components into categories such as basic controls for user input, interactive displays for formatted information, uneditable information displays, top-level containers, general-purpose containers, and special-purpose containers. Examples are given for each category including components like JButton, JTextField, JTable, JFrame, JPanel, and JInternalFrame.

Uploaded by

mahi_meg
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views15 pages

A Visual Guide To Swing Components (Java Look and Feel) : Basic Controls

This document provides a visual guide to Swing components in the Java look and feel. It groups the components into categories such as basic controls for user input, interactive displays for formatted information, uneditable information displays, top-level containers, general-purpose containers, and special-purpose containers. Examples are given for each category including components like JButton, JTextField, JTable, JFrame, JPanel, and JInternalFrame.

Uploaded by

mahi_meg
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Previous Trail Next

A Visual Guide to Swing Components (Java Look and Feel)


This page shows Swing components in the Java look and feel. The following page shows the same components in the Windows look and feel.

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

Interactive Displays of Highly Formatted Information


These components display highly formatted information that (if you choose) can be modified by the user.

JColorChooser

JEditorPane

JFileChooser

JTable

JTextArea

JTree

Uneditable Information Displays


These components exist solely to give the user information.

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

Interactive Displays of Highly Formatted Information


These components display highly formatted information that (if you choose) can be modified by the user.

JColorChooser

JEditorPane

JFileChooser

JTable

JTextArea

JTree

Uneditable Information Displays


These components exist solely to give the user information.

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.

You might also like