您的位置:首页 > 产品设计 > UI/UE

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

2013-01-14 12:14 639 查看


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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: