Package javax.swing

 A generic implementation of SingleSelectionModel. Warning: Serialized objects of this class will not be compatible with future Swing releases.… API Doc
 DesktopManager objects are owned by a JDesktopPane object. They are responsible for implementing L&F specific behaviors for the JDesktopPane.… API Doc
 An extended version of java.applet.Applet that adds support for the JFC/Swing component architecture. You can find task-oriented documentation… API Doc
 Identifies components that can be used as "rubber stamps" to paint the cells in a JList. For example, to use a JLabel as a ListCellRenderer, you… API Doc
 A simple implementation of SpinnerModel whose values are defined by an array or a List. For example to create a model defined by an array of the… API Doc
 Provides a little information about an installed LookAndFeel for the sake of configuring a menu or for initial application set up. API Doc
 This class provides default implementations for the JFC Action interface. Standard behaviors like the get and set methods for Action object… API Doc
 Defines common behaviors for buttons and menu items. Buttons can be configured, and to some degree controlled, by Actions. Using an Action… API Doc
 The abstract definition for the data model that provides a List with its contents. Warning: Serialized objects of this class will not be… API Doc
 The Action interface provides a useful extension to the ActionListener interface in cases where the same functionality may be accessed by several… API Doc
 ActionMap provides mappings from Objects (called keys or Action names) to Actions. An ActionMap is usually used with an InputMap to locate a… API Doc
 Defines the data model used by components like Sliders and ProgressBars. Defines four interrelated integer properties: minimum, maximum, extent … API Doc
 A lightweight container that uses a BoxLayout object as its layout manager. Box provides several class methods that are useful for containers… API Doc
 This interface defines the methods any general editor should be able to implement. Having this interface enables complex components (the client… API Doc
 This class is used to create a multiple-exclusion scope for a set of buttons. Creating a set of buttons with the same ButtonGroup object means… API Doc
 State model for buttons. This model is used for regular buttons, as well as check boxes and radio buttons, which are special kinds of buttons.… API Doc
 A layout manager that allows multiple components to be laid out either vertically or horizontally. The components will not wrap so, for example, a… API Doc
 This class is inserted in between cell renderers and the components that use them. It just exists to thwart the repaint() and invalidate()… API Doc
 The editor component used for JComboBox components. API Doc
 A data model for a combo box. This interface extends ListDataModel and adds the concept of a selected item. The selected item is generally the… API Doc
 A ComponentInputMap is an InputMap associated with a particular JComponent. The component is automatically notified whenever the… API Doc
 Graphics subclass supporting graphics debugging. Overrides most methods from Graphics. DebugGraphics objects are rarely created by hand. They … API Doc
 A generic implementation of BoundedRangeModel. Warning: Serialized objects of this class will not be compatible with future Swing releases. The… API Doc
 The default implementation of a Button component's data model. Warning: Serialized objects of this class will not be compatible with future… API Doc
 The default editor for table and tree cells. Warning: Serialized objects of this class will not be compatible with future Swing releases. The… API Doc
 The default model for combo boxes. API Doc
 This is an implementation of the DesktopManager. It currently implements the basic behaviors for managing JInternalFrames in an arbitrary parent. … API Doc
 Renders an item in a list. Implementation Note: This class overrides invalidate, validate, revalidate, repaint, isOpaque, and … API Doc
 This class loosely implements the java.util.Vector API, in that it implements the 1.1.x version of java.util.Vector, has no collection class… API Doc
 Default data model for list selections. Warning: Serialized objects of this class will not be compatible with future Swing releases. The… API Doc
 An image filter that "disables" an image by turning it into a grayscale image, and brightening the pixels in the image. Used by buttons to create… API Doc
 GroupLayout is a LayoutManager that hierarchically groups components in order to position them in a Container. GroupLayout is intended for use by… API Doc
 A small fixed size picture, typically used to decorate components. API Doc
 An implementation of the Icon interface that paints Icons from Images. Images that are created from a URL, filename or byte array are preloaded… API Doc
 InputMap provides a binding between an input event (currently only KeyStrokes are used) and an Object. InputMaps are usually used with an… API Doc
 The purpose of this class is to help clients support smooth focus navigation through GUIs with text fields. Such GUIs often need to ensure that… API Doc
 JColorChooser provides a pane of controls designed to allow a user to manipulate and select a color. For information about using color choosers,… API Doc
 A component that combines a button or editable field and a drop-down list. The user can select a value from the drop-down list, which appears at… API Doc
 The base class for all Swing components except top-level containers. To use a component that inherits from JComponent, you must place the… API Doc
 A container used to create a multiple-document interface or a virtual desktop. You create JInternalFrame objects and add them to the JDesktopPane.… API Doc
 The main class for creating a dialog window. You can use this class to create a custom dialog, or invoke the many class methods in JOptionPane to… API Doc
 A text component to edit various kinds of content. You can find how-to information and examples of using editor panes in Using Text Components, a… API Doc
 JFileChooser provides a simple mechanism for the user to choose a file. For information about using JFileChooser, see How to Use File Choosers, … API Doc
 JFormattedTextField extends JTextField adding support for formatting arbitrary values, as well as retrieving a particular object once the user has… API Doc
 An extended version of java.awt.Frame that adds support for the JFC/Swing component architecture. You can find task-oriented documentation about… API Doc
 This component represents an iconified version of a JInternalFrame. This API should NOT BE USED by Swing applications, as it will go away in… API Doc
 A lightweight object that provides many of the features of a native frame, including dragging, closing, becoming an icon, resizing, title display,… API Doc
 JLayer is a universal decorator for Swing components which enables you to implement various advanced painting effects as well as receive… API Doc
 JLayeredPane adds depth to a JFC/Swing container, allowing components to overlap each other when needed. An Integer object specifies each… API Doc
 A component that displays a list of objects and allows the user to select one or more items. A separate model, ListModel, maintains the contents… API Doc
 An implementation of a menu -- a popup window containing JMenuItems that is displayed when the user selects an item on the JMenuBar. In addition… API Doc
 An implementation of a menu bar. You add JMenu objects to the menu bar to construct a menu. When the user selects a JMenu object, its associated… API Doc
 An implementation of an item in a menu. A menu item is essentially a button sitting in a list. When the user selects the "button", the action … API Doc
 JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something. For information about using… API Doc
 JPanel is a generic lightweight container. For examples and task-oriented documentation for JPanel, see How to Use Panels, a section in The Java… API Doc
 JPasswordField is a lightweight component that allows the editing of a single line of text where the view indicates something was typed, but does… API Doc
 An implementation of a popup menu -- a small window that pops up and displays a series of choices. A JPopupMenu is used for the menu that appears… API Doc
 A component that visually displays the progress of some task. As the task progresses towards completion, the progress bar displays the task's… API Doc
 An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user. Used with a… API Doc
 An implementation of a radio button menu item. A JRadioButtonMenuItem is a menu item that is part of a group of menu items in which only one item… API Doc
 A lightweight container used behind the scenes by JFrame, JDialog, JWindow, JApplet, and JInternalFrame. For task-oriented information on… API Doc
 An implementation of a scrollbar. The user positions the knob in the scrollbar to determine the contents of the viewing area. The program… API Doc
 Provides a scrollable view of a lightweight component. A JScrollPane manages a viewport, optional vertical and horizontal scroll bars, and… API Doc
 A component that lets the user graphically select a value by sliding a knob within a bounded interval. The knob is always positioned at the points… API Doc
 A single line input field that lets the user select a number or an object value from an ordered sequence. Spinners typically provide a pair of… API Doc
 A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon. For examples and… API Doc
 The JTable is used to display and edit regular two-dimensional tables of cells. See How to Use Tables in The Java Tutorial for task-oriented… API Doc
 A JTextArea is a multi-line area that displays plain text. It is intended to be a lightweight component that provides source compatibility with… API Doc
 A text component that can be marked up with attributes that are represented graphically. You can find how-to information and examples of using… API Doc
 JToolBar provides a component that is useful for displaying commonly used Actions or controls. For examples and information on using tool bars… API Doc
 An implementation of a two-state button. The JRadioButton and JCheckBox classes are subclasses of this class. For information on using them see … API Doc
 Used to display a "Tip" for a Component. Typically components provide api to automate the process of using ToolTips. For example, any Swing… API Doc
 The "viewport" or "porthole" through which you see the underlying information. When you scroll, what moves is the viewport. It is like peering… API Doc
 A KeyStroke represents a key action on the keyboard, or equivalent input device. KeyStrokes can correspond to only a press or release of a… API Doc
  A control that displays a set of hierarchical data as an outline. You can find task-oriented documentation and examples of using trees in How to… API Doc
 A JWindow is a container that can be displayed anywhere on the user's desktop. It does not have the title bar, window-management buttons, or other… API Doc
 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. Logically the… API Doc
 This interface represents the current state of the selection for any of the components that display a list of values with stable indices. The… API Doc
 LookAndFeel, as the name implies, encapsulates a look and feel. Beyond installing a look and feel most developers never need to interact directly… API Doc
 A layout manager to arrange components over the top of each other. The requested size of the container will be the largest requested size of the… API Doc
 Popups are used to display a Component to the user, typically on top of all the other Components in a particular containment hierarchy. Popups… API Doc
 PopupFactory, as the name implies, is used to obtain instances of Popups. Popups are used to display a Component above all other Components in a… API Doc
 A class to monitor the progress of some operation. If it looks like the operation will take a while, a progress dialog will be popped up. When the… API Doc
 Monitors the progress of reading from some InputStream. This ProgressMonitor is normally invoked in roughly this form: InputStream in = new… API Doc
 This class manages repaint requests, allowing the number of repaints to be minimized, for example by collapsing multiple requests into a single… API Doc
 This interface is implemented by components that have a single JRootPane child: JDialog, JFrame, JWindow, JApplet, JInternalFrame. The methods in … API Doc
 An interface that provides information to a scrolling container like JScrollPane. A complex component that's likely to be used as a viewing a… API Doc
 A model that supports at most one indexed selection. API Doc
 A SizeSequence object efficiently maintains an ordered list of sizes and corresponding positions. One situation for which SizeSequence might be… API Doc
 A SpinnerModel for sequences of Dates. The upper and lower bounds of the sequence are defined by properties called start and end and the size of… API Doc
 A SpinnerModel for sequences of numbers. The upper and lower bounds of the sequence are defined by properties called minimum and maximum. The… API Doc
 An instance of the Spring class holds three properties that characterize its behavior: the minimum, preferred, and maximum values. Each of these… API Doc
 A SpringLayout lays out the children of its associated container according to a set of constraints. See How to Use SpringLayout in The Java… API Doc
 An abstract class to perform lengthy GUI-interaction tasks in a background thread. Several background threads can be used to execute such tasks.… API Doc
 Fires one or more ActionEvents at specified intervals. An example use is an animation object that uses a Timer as the trigger for drawing its… API Doc
 This class encapsulates all relevant details of a clipboard or drag and drop transfer, and also allows for customizing aspects of the drag and… API Doc
 This class is used to handle the transfer of a Transferable to and from Swing components. The Transferable is used to represent data that is… API Doc
 A table of defaults for Swing components. Applications can set/get default values via the UIManager. Warning: Serialized objects of this class… API Doc
 JSeparator provides a general purpose component for implementing divider lines - most commonly used as a divider between menu items that breaks… API Doc
 An implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user. By convention, any… API Doc
 A menu item that can be selected or deselected. If selected, the menu item typically appears with a checkmark next to it. If unselected or … API Doc
 A popup menu-specific separator.  API Doc
 An editor for a JSpinner whose model is a SpinnerDateModel. The value of the editor is displayed with a JFormattedTextField whose format is… API Doc
 The ToggleButton model Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization… API Doc
 A mutable version of ComboBoxModel. API Doc
 Manages all the ToolTips in the system. ToolTipManager contains numerous properties for configuring how long it will take for the tooltips to… API Doc
 An exception that indicates the requested look & feel management classes are not present on the user's system. Warning: Serialized objects of… API Doc
 An implementation of a "push" button. Buttons can be configured, and to some degree controlled, by Actions. Using an Action with a button has… API Doc
 A display area for a short text string or an image, or both. A label does not react to input events. As a result, it cannot get the keyboard… API Doc
 JTextField is a lightweight component that allows the editing of a single line of text. For information on and examples of using text fields, … API Doc
 JSplitPane is used to divide two (and only two) Components. The two Components are graphically divided based on the look and feel implementation,… API Doc