Spec-Zone .ru
спецификации, руководства, описания, API
Trail: Graphical User Interfaces
Lesson: Swing Features
A Visual Guide to Swing Components (Java Look and Feel)
Home Page > Graphical User Interfaces > Swing Features

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.

Button image

JButton

CheckBox image

JCheckBox

Combo box image

JComboBox

List image

JList

Menu image

JMenu

Radio Button image

JRadioButton

Slider image

JSlider

Spinner image

JSpinner

Text field image

JTextField

Password field image

JPasswordField

Interactive Displays of Highly Formatted Information

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

Color Chooser Image

JColorChooser

Text pane Image

JEditorPane

File Chooser Image

JFileChooser

Table Image

JTable

Text Image

JTextArea

Tree Image

JTree

Uneditable Information Displays

These components exist solely to give the user information.

Label image

JLabel

Progress bar image

JProgressBar

Separator image

JSeparator

Tool tip image

JToolTip

Top-Level Containers

At least one of these components must be present in any Swing application.

Applet image

JApplet

Dialog image

JDialog

Frame image

JFrame

General-Purpose Containers

These general-purpose containers are used in most Swing applications.

Panel image

JPanel

Scroll pane image

JScrollPane

Split pane image

JSplitPane

Tabbed pane image

JTabbedPane

ToolBar image

JToolBar

Special-Purpose Containers

These special-purpose containers play specific roles in the UI.

Internal frame image

JInternalFrame

Layered pane image

JLayeredPane

Root pane image

Root pane

See the Using JavaFX UI Controls tutorial for more information about GUI components in JavaFX.


Problems with the examples? Try Compiling and Running the Examples: FAQs.
Complaints? Compliments? Suggestions? Give us your feedback.

Previous page: Swing Features
Next page: A Visual Guide to Swing Components (Windows Look and Feel)