next up previous
Next: Swing Packages Up: Introduction: Java Swing Previous: Swing Features

The Swing Component Hierarchy

See example program SwingSet.java

Top Level Components

JApplet
-- simple extension of java.applet.Applet class for use when swing programs are designed to be used in web browser or appletviewer
JDialog
-- replacement for java.awt.Dialog provides information and simple user prompts. JOptionPane class is a new Swing alternative for easy creation of simple dialogs.
JFrame
-- Most common container
JWindow
-- A window container

JComponent -- the base component class

JComboBox
JLabel
JList
JMenuBar

JPanel
JPopupMenu
JScrollBar
JScrollPane
JTable
JTree

JInternalFrame
JOptionPane
JProgressBar
JRootPane
JSeparator

JSlider
JSplitPane
JTabbedPane
JToolBar
JToolTip

JViewport
JColorChooser

JTextComponent

JEditorPane
JTextPane
JFileChooser
JLayeredPane
JDesktopPane
AbstractButton
-- see below.

AbstractButton Class

JToggleButton
-- JCheckBox and JRadioButton
JButton
JMenuItem
-- JMenu, JRadioButtonMenuItem and JCheckButtonItem


Dave Marshall
4/14/1999