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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值