<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:54:34 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Package javax.swing
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <FONT ID="NavBarFont1">Class</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-use.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../javax/accessibility/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/border/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<H2>
Package javax.swing
</H2>
Provides a set of &quot;lightweight&quot;
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
<P>
<B>See: </B>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="#package_description"><B>Description</B></A>
<P>

<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Interface Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="Action.html"><I>Action</I></A></B></TD>
<TD>The JFC Action interface provides a useful extension to the ActionListner
 interface in cases where the same functionality may be accessed by
 several controls.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="BoundedRangeModel.html"><I>BoundedRangeModel</I></A></B></TD>
<TD>Defines the data model used by components like Sliders and ProgressBars.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ButtonModel.html"><I>ButtonModel</I></A></B></TD>
<TD>State Model for buttons.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="CellEditor.html"><I>CellEditor</I></A></B></TD>
<TD>This interface defines the methods any general editor should be able
 to implement.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ComboBoxEditor.html"><I>ComboBoxEditor</I></A></B></TD>
<TD>The editor component used for JComboBox components.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ComboBoxModel.html"><I>ComboBoxModel</I></A></B></TD>
<TD>ComboBoxDataModel is a ListDataModel with a selected item
 This selected item is in the model since it is not
 always in the item list.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DesktopManager.html"><I>DesktopManager</I></A></B></TD>
<TD>DesktopManager objects are owned by a JDesktopPane object.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="Icon.html"><I>Icon</I></A></B></TD>
<TD>A small fixed size picture, typically used to decorate components.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JComboBox.KeySelectionManager.html"><I>JComboBox.KeySelectionManager</I></A></B></TD>
<TD>The interface that defines a KeySelectionManager.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ListCellRenderer.html"><I>ListCellRenderer</I></A></B></TD>
<TD>Identifies components that can be used as "rubber stamps" to paint
 the cells in a JList.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ListModel.html"><I>ListModel</I></A></B></TD>
<TD>This interface defines the methods components like JList use 
 to get the value of each cell in a list and the length of the list.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ListSelectionModel.html"><I>ListSelectionModel</I></A></B></TD>
<TD>This interface represents the current state of the 
 selection for any of the components that display a 
 list of values with stable indices.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="MenuElement.html"><I>MenuElement</I></A></B></TD>
<TD>Any component that can be placed into a menu should implement this interface.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="MutableComboBoxModel.html"><I>MutableComboBoxModel</I></A></B></TD>
<TD>A mutable version of ComboBoxModel.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="Renderer.html"><I>Renderer</I></A></B></TD>
<TD>Defines the requirements for an object responsible for
 "rendering" (displaying) a value.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="RootPaneContainer.html"><I>RootPaneContainer</I></A></B></TD>
<TD>This interface is implemented by components that have a single
 JRootPane child: JDialog, JFrame, JWindow, JApplet, JInternalFrame.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="Scrollable.html"><I>Scrollable</I></A></B></TD>
<TD>An interface that provides information to a scrolling container
 like JScrollPane.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ScrollPaneConstants.html"><I>ScrollPaneConstants</I></A></B></TD>
<TD>Constants used with the JScrollPane component.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="SingleSelectionModel.html"><I>SingleSelectionModel</I></A></B></TD>
<TD>A model that supports at most one indexed selection.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="SwingConstants.html"><I>SwingConstants</I></A></B></TD>
<TD>A collection of constants generally used for positioning and orienting
 components on the screen.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="UIDefaults.ActiveValue.html"><I>UIDefaults.ActiveValue</I></A></B></TD>
<TD>This class enables one to store an entry in the defaults
 table that's constructed each time it's looked up with one of
 the <code>getXXX(key)</code> methods.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="UIDefaults.LazyValue.html"><I>UIDefaults.LazyValue</I></A></B></TD>
<TD>This class enables one to store an entry in the defaults
 table that isn't constructed until the first time it's
 looked up with one of the <code>getXXX(key)</code> methods.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="WindowConstants.html"><I>WindowConstants</I></A></B></TD>
<TD>Constants used to control the window-closing operation.</TD>
</TR>
</TABLE>
&nbsp;

<P>

<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Class Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="AbstractAction.html">AbstractAction</A></B></TD>
<TD>This class provides default implementations for the JFC Action 
 interface.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="AbstractButton.html">AbstractButton</A></B></TD>
<TD>Defines the common behaviors for the JButton, JToggleButton, JCheckbox,
 and the JRadioButton classes.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="AbstractListModel.html">AbstractListModel</A></B></TD>
<TD>The Abstract definition for the data model the provides
 a List with its contents.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="BorderFactory.html">BorderFactory</A></B></TD>
<TD>Factory class for vending standard Border objects.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="Box.html">Box</A></B></TD>
<TD>A lightweight container 
 that uses a BoxLayout object as its layout manager.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="Box.Filler.html">Box.Filler</A></B></TD>
<TD>An implementation of a lightweight component that participates in
 layout but has no view.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="BoxLayout.html">BoxLayout</A></B></TD>
<TD>A layout manager that allows multiple components to be layed out either
 vertically or horizontally.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ButtonGroup.html">ButtonGroup</A></B></TD>
<TD>This class is used to create a multiple-exclusion scope for
 a set of buttons.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="CellRendererPane.html">CellRendererPane</A></B></TD>
<TD>This class is inserted in between cell renderers and the components that 
 use them.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DebugGraphics.html">DebugGraphics</A></B></TD>
<TD>Graphics subclass supporting graphics debugging.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DefaultBoundedRangeModel.html">DefaultBoundedRangeModel</A></B></TD>
<TD>A generic implementation of BoundedRangeModel.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DefaultButtonModel.html">DefaultButtonModel</A></B></TD>
<TD>The default implementation of a Button component's data model.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DefaultCellEditor.html">DefaultCellEditor</A></B></TD>
<TD>The default editor for table and tree cells.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DefaultComboBoxModel.html">DefaultComboBoxModel</A></B></TD>
<TD>The default model for combo boxes.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DefaultDesktopManager.html">DefaultDesktopManager</A></B></TD>
<TD>This is an implementaion of the DesktopManager.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DefaultFocusManager.html">DefaultFocusManager</A></B></TD>
<TD>Default swing focus manager implementation.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DefaultListCellRenderer.html">DefaultListCellRenderer</A></B></TD>
<TD>Renders an item in a list.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DefaultListCellRenderer.UIResource.html">DefaultListCellRenderer.UIResource</A></B></TD>
<TD>A subclass of DefaultListCellRenderer that implements UIResource.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DefaultListModel.html">DefaultListModel</A></B></TD>
<TD>This class implements the java.util.Vector API and notifies
 the JListDataModel listeners when changes occur.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DefaultListSelectionModel.html">DefaultListSelectionModel</A></B></TD>
<TD>Default data model for list selections.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="DefaultSingleSelectionModel.html">DefaultSingleSelectionModel</A></B></TD>
<TD>A generic implementation of SingleSelectionModel.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="FocusManager.html">FocusManager</A></B></TD>
<TD>Swing Focus Manager</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="GrayFilter.html">GrayFilter</A></B></TD>
<TD>An image filter that "disables" an image by turning
 it into a grayscale image, and brightening the pixels
 in the image.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ImageIcon.html">ImageIcon</A></B></TD>
<TD>An implementation of the Icon interface that paints Icons
 from Images.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JApplet.html">JApplet</A></B></TD>
<TD>An extended version of java.applet.Applet that adds support for 
 interposing input and painting behavior in front of the applets
 children (see glassPane), support for special children that 
 are managed by a LayeredPane (see rootPane) and for Swing MenuBars.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JButton.html">JButton</A></B></TD>
<TD>An implementation of a "push" button.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JCheckBox.html">JCheckBox</A></B></TD>
<TD>An implementation of a CheckBox -- an item that can be selected or
 deselected, and which displays its state to the user.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JCheckBoxMenuItem.html">JCheckBoxMenuItem</A></B></TD>
<TD>A menu item that can be selected or deselected.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JColorChooser.html">JColorChooser</A></B></TD>
<TD>JColorChooser provides a pane of controls designed to allow
 a user to manipulate and select a color.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JComboBox.html">JComboBox</A></B></TD>
<TD>Swing's implementation of a ComboBox -- a combination of a text field and 
 drop-down list that lets the user either type in a value or select it from 
 a list that is displayed when the user asks for it.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JComponent.html">JComponent</A></B></TD>
<TD>The base class for the Swing components.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JDesktopPane.html">JDesktopPane</A></B></TD>
<TD>A container used to create a multiple-document interface or a virtual desktop.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JDialog.html">JDialog</A></B></TD>
<TD>The main class for creating a dialog window.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JEditorPane.html">JEditorPane</A></B></TD>
<TD>A text component to edit various kinds of content.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JFileChooser.html">JFileChooser</A></B></TD>
<TD>JFileChooser provides a simple mechanism for the user to chooser a file.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JFrame.html">JFrame</A></B></TD>
<TD>An extended version of java.awt.Frame that adds support for 
 interposing input and painting behavior in front of the frame's
 children (see glassPane), support for special children that 
 are managed by a LayeredPane (see rootPane) and for Swing MenuBars.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JInternalFrame.html">JInternalFrame</A></B></TD>
<TD>A lightweight object that provides many of the features of
 a native frame, including dragging, closing, becoming an icon,
 resizing, title display, and support for a menu bar.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JInternalFrame.JDesktopIcon.html">JInternalFrame.JDesktopIcon</A></B></TD>
<TD>This component represents an iconified version of a JInternalFrame.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JLabel.html">JLabel</A></B></TD>
<TD>A display area for a short text string or an image,
 or both.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JLayeredPane.html">JLayeredPane</A></B></TD>
<TD>JLayeredPane adds depth to a JFC/Swing container, allowing components to overlap 
 each other when needed.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JList.html">JList</A></B></TD>
<TD>A component that allows the user to select one or more objects from a
 list.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JMenu.html">JMenu</A></B></TD>
<TD>An implementation of a menu -- a popup window containing <code>JMenuItem</code>s that
 is displayed when the user selects an item on the <code>JMenuBar</code>.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JMenuBar.html">JMenuBar</A></B></TD>
<TD>An implementation of a MenuBar.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JMenuItem.html">JMenuItem</A></B></TD>
<TD>An implementation of a MenuItem.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JOptionPane.html">JOptionPane</A></B></TD>
<TD>JOptionPane makes it easy to pop up a standard dialog box that
 prompts users for a value or informs them of something.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JPanel.html">JPanel</A></B></TD>
<TD>JPanel is a generic lightweight container.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JPasswordField.html">JPasswordField</A></B></TD>
<TD>JPasswordField is a lightweight component that allows the editing 
 of a single line of text where the view indicates something was
 typed, but does not show the original characters.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JPopupMenu.html">JPopupMenu</A></B></TD>
<TD>An implementation of a Popup Menu -- a small window which pops up
 and displays a series of choices.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JPopupMenu.Separator.html">JPopupMenu.Separator</A></B></TD>
<TD>A popupmenu-specific separator.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JProgressBar.html">JProgressBar</A></B></TD>
<TD>A component that displays an integer value within a bounded 
 interval.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JRadioButton.html">JRadioButton</A></B></TD>
<TD>An implementation of a radio button -- an item that can be selected or
 deselected, and which displays its state to the user.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JRadioButtonMenuItem.html">JRadioButtonMenuItem</A></B></TD>
<TD>An implementation of a RadioButtonMenuItem.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JRootPane.html">JRootPane</A></B></TD>
<TD>The fundamental component in the container hierarchy.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JScrollBar.html">JScrollBar</A></B></TD>
<TD>An implementation of a scrollbar.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JScrollPane.html">JScrollPane</A></B></TD>
<TD>A specialized container that manages a viewport, optional
 vertical and horizontal scrollbars, and optional row and
 column heading viewports.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JSeparator.html">JSeparator</A></B></TD>
<TD>An implementation of a Menu Separator -- a divider between menu items
 that breaks them up into logical groupings.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JSlider.html">JSlider</A></B></TD>
<TD>A component that lets the user graphically select a value by slding
 a knob within a bounded interval.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JSplitPane.html">JSplitPane</A></B></TD>
<TD>JSplitPane is used to divide two (and only two) Components.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JTabbedPane.html">JTabbedPane</A></B></TD>
<TD>A component which lets the user switch between a group of components by
 clicking on a tab with a given title and/or icon.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JTable.html">JTable</A></B></TD>
<TD>JTable is a user-interface component that presents data in a two-dimensional
 table format.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JTextArea.html">JTextArea</A></B></TD>
<TD>A TextArea is a multi-line area that displays plain text.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JTextField.html">JTextField</A></B></TD>
<TD>JTextField is a lightweight component that allows the editing 
 of a single line of text.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JTextPane.html">JTextPane</A></B></TD>
<TD>A text component that can be marked up with attributes that are
 represented graphically.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JToggleButton.html">JToggleButton</A></B></TD>
<TD>An implementation of a two-state button.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JToggleButton.ToggleButtonModel.html">JToggleButton.ToggleButtonModel</A></B></TD>
<TD>The ToggleButton model
 
 <strong>Warning:</strong>
 Serialized objects of this class will not be compatible with
 future Swing releases.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JToolBar.html">JToolBar</A></B></TD>
<TD>JToolBar provides a component which is useful for displaying commonly
 used Actions or controls.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JToolBar.Separator.html">JToolBar.Separator</A></B></TD>
<TD>A toolbar-specific separator.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JToolTip.html">JToolTip</A></B></TD>
<TD>Used to display a "Tip" for a Component.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JTree.html">JTree</A></B></TD>
<TD>A control that displays a set of hierarchical data as an outline.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JTree.DynamicUtilTreeNode.html">JTree.DynamicUtilTreeNode</A></B></TD>
<TD>DynamicUtilTreeNode can wrap vectors/hashtables/arrays/strings and
 create the appropriate children tree nodes as necessary.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JTree.EmptySelectionModel.html">JTree.EmptySelectionModel</A></B></TD>
<TD>EmptySelectionModel is a TreeSelectionModel that does not allow
 anything to be selected.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JViewport.html">JViewport</A></B></TD>
<TD>The "viewport" or "porthole" through which you see the underlying
 information.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="JWindow.html">JWindow</A></B></TD>
<TD>A JWindow is a container that can be displayed anywhere on the
 user's desktop.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="KeyStroke.html">KeyStroke</A></B></TD>
<TD>A KeyStroke instance represents a key being typed on the keyboard -- it
 contains both a char code for the key and a modifier (alt, shift, ctrl, 
 meta, or a combination).</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="LookAndFeel.html">LookAndFeel</A></B></TD>
<TD>Completely characterizes a look and feel from the point of view
 of the pluggable look and feel components.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="MenuSelectionManager.html">MenuSelectionManager</A></B></TD>
<TD>A MenuSelectionManager owns the selection in menu hierarchy.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="OverlayLayout.html">OverlayLayout</A></B></TD>
<TD>A layout manager to arrange components over the top
 of each other.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ProgressMonitor.html">ProgressMonitor</A></B></TD>
<TD>A class to monitor the progress of some operation.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ProgressMonitorInputStream.html">ProgressMonitorInputStream</A></B></TD>
<TD>Monitors the progress of reading from some InputStream.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="RepaintManager.html">RepaintManager</A></B></TD>
<TD>This class manages repaint requests, allowing the number
 of repaints to be minimized, for example by collapsing multiple 
 requests into a single repaint for members of a component tree.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ScrollPaneLayout.html">ScrollPaneLayout</A></B></TD>
<TD>The layout manager used by JScrollPane.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ScrollPaneLayout.UIResource.html">ScrollPaneLayout.UIResource</A></B></TD>
<TD>The UI resource version of ScrollPaneLayout.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="SizeRequirements.html">SizeRequirements</A></B></TD>
<TD>For the convenience of layout managers,
 calculates information about the size and position of components.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="SwingUtilities.html">SwingUtilities</A></B></TD>
<TD>A collection of utility methods for Swing.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="Timer.html">Timer</A></B></TD>
<TD>Object subclass that causes an action to occur at a predefined rate.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ToolTipManager.html">ToolTipManager</A></B></TD>
<TD>Manages all the ToolTips in the system.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="UIDefaults.html">UIDefaults</A></B></TD>
<TD>A table of defaults for Swing components.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="UIManager.html">UIManager</A></B></TD>
<TD>This class keeps track of the current look and feel and its
 defaults.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="UIManager.LookAndFeelInfo.html">UIManager.LookAndFeelInfo</A></B></TD>
<TD>Provide a little information about an installed LookAndFeel
 for the sake of configuring a menu or for initial application 
 set up.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="ViewportLayout.html">ViewportLayout</A></B></TD>
<TD>The default layout manager for JViewport.</TD>
</TR>
</TABLE>
&nbsp;

<P>

<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Exception Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD WIDTH="15%"><B><A HREF="UnsupportedLookAndFeelException.html">UnsupportedLookAndFeelException</A></B></TD>
<TD>An exception that indicates the request look & feel management classes
 are not present on the user's system.</TD>
</TR>
</TABLE>
&nbsp;

<P>
<A NAME="package_description"><!-- --></A><H2>
Package javax.swing Description
</H2>

<P>
<P>Provides a set of &quot;lightweight&quot;
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
The Swing architecture provides a number of advantages in the
areas of:

<UL>
        <LI><A HREF="#components">Wide Variety of Components</A>
        <LI><A HREF="#plaf">Pluggable Look and Feel</A>
        <LI><A HREF="#mvc">MVC Architecture</A>
        <LI><A HREF="#keys">Keystroke Handling</A>
        <LI><A HREF="#actions">Action Objects</A>
        <LI><A HREF="#containers">Nested Containers</A>
        <LI><A HREF="#desktops">Virtual Desktops</A>
        <LI><A HREF="#borders">Compound Borders</A>
        <LI><A HREF="#customDialogs">Customized Dialogs</A>
        <LI><A HREF="#stdDialogs">Standard Dialog Classes</A>
        <LI><A HREF="#structures">Structured Table and Tree Components</A>
        <LI><A HREF="#text">Powerful Text Manipulation</A>
        <LI><A HREF="#undo">Generic Undo Capabilities</A>
        <LI><A HREF="#accessibility">Accessibility Support</A>
</UL>

<H3><A NAME="components"></A>Wide Variety of Components</H3>
<P>In general, the class names that start with &quot;J&quot; are the components you add to an application.
Examples: JButton, JLabel, JList, JPanel, JTable, JTree. The remaining files in the swing package
contain the utility classes and interfaces that the components use to function.

<H3><A NAME="plaf"></A>Pluggable Look and Feel</H3>
<P>Instead of being restricted to a single &quot;look and feel&quot;, you can select a look and feel and &quot;plug
it in&quot;. An interface made of Swing components can look like a Win32 app, a Motif app, or a Mac app. It can
use the new &quot;Metal&quot; look and feel. Developers can use standard Swing components and design their own
look and feel (L&amp;F) for them, and even allow users to select the look and feel they prefer. The <CODE>plaf</CODE>
package includes the standard &quot;Pluggable Look And Feel&quot; classes.

<H3><A NAME="mvc"></A>MVC Architecture</H3>
<P>The Model-View-Controller (MVC) architecture is used consistently throughout the Swing component set.
The View and Controller parts of the architecture are combined in the component. Each component has an associated
Model class and an interface it uses. You can provide your own data-model for a
component by subclassing the Model class or by implementing the appropriate interface. For example,
you could subclass <code>DefaultListModel</code> or implement the <code>ListModel</code> interface, and then use
the JList <code>setModel</code> method to attach your data-model to the component.

<H3><A NAME="keys"></A>Keystroke Handling</H3>
<P>The JComponent architecture makes it easy to handle keyboard events in nested components. You register interest
in a particular combination of keystrokes by creating a KeyStroke object and registering it with the component.
When you register the keystroke combination and its associated action, you also specify one of the following conditions
to determine when the action is initiated:
<UL>
        <LI>The component has the focus.
        <LI>A child or grandchild of the component has the focus.<BR>
        You can use this capability to define global actions for a composite component. For example, a tree control could
        act on the Plus key to expand all elements in the tree, as long as any component in the tree has the focus.
        <LI>The window the component is in has the focus.<BR>
        In other words, if the component is a child or grandchild of a window, and any component in that window has the
        focus, then the component receives the event. This capability is used to direct the keystroke combination Alt+C
        to the Cancel button in a dialog, for example, as long any component in the dialog has the focus.
</UL>
<BLOCKQUOTE>
        For an index of the default keystroke behaviors for the Swing components in each of the standard
        Look and Feel implementations, see <a href="doc-files/Key-Index.html">Swing Component Keystroke Assignments</a>.
</BLOCKQUOTE>

<H3><A NAME="actions"></A>Action Objects</H3>
<P>Action-interface objects provide a single point of control for program actions. For example, a toolbar icon
and a menu item can reference the same Action object. When the Action object is disabled, the GUI items that reference
it are automatically disabled. The Action interface extends ActionListener, specifying an enabled property as well
as properties for text-descriptions and graphic icons.

<H3><A NAME="containers"></A>Nested Containers</H3>
<P>As the keystroke handling shows, Swing was designed to manage nested containers gracefully.
The main "heavyweight" containers (JWindow, JFrame, JDialog, and JApplet) as well as the major
"lightweight" containers (JInternalFrame and JComponent) all delegate their operations to a
JRootPane. This commonality produces a high degree of regularity in container nesting. In particular, since
the fundamental component class (JComponent) contains a JRootPane, virtually <i>any</i> component can be
nested within another. It means, for example, that a graphic can be nested in a list, and a combo box can
be nested in a toolbar.

The JRootPane class uses a JLayeredPane to manage a content pane and an optional menu bar in a way that is
virtually transparent to the developer. It also provides for a glass pane -- a single pane that can overlap multiple
containers and be used for drawing or to intercept mouse actions.

<H3><A NAME="desktops"></A>Virtual Desktops</H3>
<P>The JDesktopPane and JInternalFrame classes can be used to create a virtual desktop, or &quot;multiple
document interface&quot;. A JInternalFrame can be specified as iconizable, exandable, or closable, while the
JDesktopPane provides real estate for them to operate in.

<H3><A NAME="borders"></A>Compound Borders</H3>
<P>Insets (the space between the edges of the component and the area it is drawn in) can be specified with a blank
border. In addition, many border styles are available, which can be combined to create compound borders.

<H3><A NAME="customDialogs"></A>Customized Dialogs</H3>
<P>The JOptionPane class provides a variety of static methods that you can invoke to create and display both message
dialogs and user-choice dialogs in a variety of formats. The &quot;message&quot; displayed in the dialog can be
a string, a string-generating object, or an arbitrary component. You can also replace the choice-buttons with components
you specify for user-selections.</P>
<P>For example, the following line creates a simple message dialog that requires the user's confirmation:
<BLOCKQUOTE>
        <PRE>JOptionPane.showMessageDialog(null, &quot;The file will be deleted.&quot;);</PRE>
</BLOCKQUOTE>

<P>Additional options for customized dialogs are described in the JOptionPane class.

<H3><A NAME="stdDialogs"></A>Standard Dialog Classes</H3>
<P>Standard dialogs currently available include:
<ul>
<li>JFileChooser
<li>JColorChooser
</ul>
And more standard dialogs are on the way.

<H3><A NAME="structures"></A>Structured Table and Tree Components</H3>
<P>The JTable class provides a data-aware matrix. JTree provides hierarchical-structuring of
data elements.

<H3><A NAME="text"></A>Powerful Text Manipulations</H3>
<P>In addition to single-font text fields and text areas, Swing provides a JPassword field for hidden
input and a JTextPane class for displaying multi-font text. In addition, the JEditorPane class provides
editing capabilities for multi-font text, while the text.html and text.rtf packages handle text encoded
in HyperText Markup Language (HTML) or Rich Text Format (RTF).

<H3><A NAME="undo"></A>Generic Undo Capabilities</H3>
<P>The undo package provides generic undo capabilities that can be used in a variety of situations.

<H3><A NAME="accessibility"></A>Accessibility Support</H3>
<P>Swing has built-in support for developers to make products that are compatible with Assistive Technologies (for
alternative interfaces like, for example, braille.) All of the Swing components implement interface Accessible.

<H2>Package Specification</H2>
<UL>
    Link to updated API specification to be added here.
</UL>

<H2>Related Documentation</H2>
<P>For overviews, tutorials, examples, guides, and other documentation, please see:

<UL>
   <LI><A HREF="http://java.sun.com/products/jfc/swingdoc-current/">The Swing Connection</A>
   <LI><A HREF="http://java.sun.com/products/jfc/swingdoc-current/comp_gal.html">The Component Gallery</A>
   <LI><A HREF="http://java.sun.com/docs/books/tutorial/ui/swing/index.html">Using the JFC/Swing Components</A>
   <LI><A HREF="http://developer.javasoft.com/developer/onlineTraining/swing/index.html">Swing Short Course, Part I</A>
   <LI><A HREF="http://java.sun.com/products/jfc/">Java Foundation Classes (JFC)</A>
</UL>
<P>
<DL>
<DT><B>Since: </B><DD>JDK1.2</DD>
</DL>
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <FONT ID="NavBarFont1">Class</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-use.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../javax/accessibility/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/border/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>Java is a trademark or registered trademark of Sun Microsystems,  Inc. in the US and other countries.<br>Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font>
</BODY>
</HTML>
