Uses of Package
javax.swing

Packages that use javax.swing
Package
Description
Contains all of the classes for creating user interfaces and for painting graphics and images.
Provides interfaces that enable the development of input methods that can be used with any Java runtime environment.
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
Provides classes and interface for drawing specialized borders around a Swing component.
Contains classes and interfaces used by the JColorChooser component.
Provides for events fired by Swing components.
Contains classes and interfaces used by the JFileChooser component.
Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
Provides user interface objects built according to the Basic look and feel.
Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.
Provides user interface objects that combine two or more look and feels.
Provides user interface objects built according to the cross-platform Nimbus look and feel.
Synth is a skinnable look and feel in which all painting is delegated.
Provides classes and interfaces for dealing with javax.swing.JTable.
Provides classes and interfaces that deal with editable and noneditable text components.
Provides the class HTMLEditorKit and supporting classes for creating HTML text editors.
Provides classes and interfaces for dealing with javax.swing.JTree.
  • Classes in javax.swing used by java.awt
    Class
    Description
    An implementation of a menu bar.
  • Classes in javax.swing used by java.awt.im.spi
    Class
    Description
    An extended version of java.awt.Frame that adds support for the JFC/Swing component architecture.
  • Classes in javax.swing used by javax.swing
    Class
    Description
    Defines common behaviors for buttons and menu items.
    This class implements accessibility support for the AbstractButton class.
    A base class for CellEditors, providing default implementations for the methods in the CellEditor interface except getCellEditorValue().
    The abstract definition for the data model that provides a List with its contents.
    This class provides the ChangeListener part of the SpinnerModel interface that should be suitable for most concrete SpinnerModel implementations.
    The Action interface provides a useful extension to the ActionListener interface in cases where the same functionality may be accessed by several controls.
    ActionMap provides mappings from Objects (called keys or Action names) to Actions.
    Defines the data model used by components like Sliders and ProgressBars.
    A lightweight container that uses a BoxLayout object as its layout manager.
    This class is used to create a multiple-exclusion scope for a set of buttons.
    State model for buttons.
    This interface defines the methods any general editor should be able to implement.
    The editor component used for JComboBox components.
    A data model for a combo box.
    A ComponentInputMap is an InputMap associated with a particular JComponent.
    The default implementation of a Button component's data model.
    The protected EditorDelegate class.
    Renders an item in a list.
    DefaultRowSorter.ModelWrapper is responsible for providing the data that gets sorted by DefaultRowSorter.
    DesktopManager objects are owned by a JDesktopPane object.
    Drop modes, used to determine the method by which a component tracks and indicates a drop location during drag and drop.
    This class has been obsoleted by the 1.4 focus APIs.
    Enumeration of the possible ways ParallelGroup can align its children.
    Group provides the basis for the two types of operations supported by GroupLayout: laying out components one after another (SequentialGroup) or aligned (ParallelGroup).
    A Group that aligns and sizes its children.
    A Group that positions and sizes its elements sequentially, one after another.
    A small fixed size picture, typically used to decorate components.
    InputMap provides a binding between an input event (currently only KeyStrokes are used) and an Object.
    This class provides the validation mechanism for Swing components.
    A FocusTraversalPolicy which can optionally provide an algorithm for determining a JInternalFrame's initial Component.
    An implementation of a "push" button.
    An implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user.
    JColorChooser provides a pane of controls designed to allow a user to manipulate and select a color.
    A component that combines a button or editable field and a drop-down list.
    The interface that defines a KeySelectionManager.
    The base class for all Swing components except top-level containers.
    Inner class of JComponent used to provide default support for accessibility.
    A container used to create a multiple-document interface or a virtual desktop.
    The main class for creating a dialog window.
    A text component to edit various kinds of content.
    This class implements accessibility support for the JEditorPane class.
    JFormattedTextField extends JTextField adding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.
    Instances of AbstractFormatter are used by JFormattedTextField to handle the conversion both from an Object to a String, and back from a String to an Object.
    Instances of AbstractFormatterFactory are used by JFormattedTextField to obtain instances of AbstractFormatter which in turn are used to format values.
    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.
    This component represents an iconified version of a JInternalFrame.
    A display area for a short text string or an image, or both.
    JLayeredPane adds depth to a JFC/Swing container, allowing components to overlap each other when needed.
    A component that displays a list of objects and allows the user to select one or more items.
    A subclass of TransferHandler.DropLocation representing a drop location for a JList.
    An implementation of a menu -- a popup window containing JMenuItems that is displayed when the user selects an item on the JMenuBar.
    A listener class that watches for a popup window closing.
    An implementation of a menu bar.
    An implementation of an item in a menu.
    This class implements accessibility support for the JMenuItem class.
    JPanel is a generic lightweight container.
    An implementation of a popup menu -- a small window that pops up and displays a series of choices.
    A lightweight container used behind the scenes by JFrame, JDialog, JWindow, JApplet, and JInternalFrame.
    An implementation of a scrollbar.
    Provides a scrollable view of a lightweight component.
    JSeparator provides a general purpose component for implementing divider lines - most commonly used as a divider between menu items that breaks them up into logical groupings.
    A single line input field that lets the user select a number or an object value from an ordered sequence.
    A simple base class for more specialized editors that displays a read-only view of the model's current value with a JFormattedTextField.
    The JTable is used to display and edit regular two-dimensional tables of cells.
    A subclass of TransferHandler.DropLocation representing a drop location for a JTable.
    Printing modes, used in printing JTables.
    JTextField is a lightweight component that allows the editing of a single line of text.
    This class implements accessibility support for the JTextField class.
    An implementation of a two-state button.
    This class implements accessibility support for the JToggleButton class.
    Used to display a "Tip" for a Component.
    A control that displays a set of hierarchical data as an outline.
    A subclass of TransferHandler.DropLocation representing a drop location for a JTree.
    EmptySelectionModel is a TreeSelectionModel that does not allow anything to be selected.
    Handles creating a new TreeSelectionEvent with the JTree as the source and passing it off to all the listeners.
    The "viewport" or "porthole" through which you see the underlying information.
    A listener for the view.
    A KeyStroke represents a key action on the keyboard, or equivalent input device.
    LayoutStyle provides information about how to position components.
    ComponentPlacement is an enumeration of the possible ways two components can be placed relative to each other.
    Identifies components that can be used as "rubber stamps" to paint the cells in a JList.
    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.
    This interface represents the current state of the selection for any of the components that display a list of values with stable indices.
    LookAndFeel, as the name implies, encapsulates a look and feel.
    Any component that can be placed into a menu should implement this interface.
    A MenuSelectionManager owns the selection in menu hierarchy.
    A mutable version of ComboBoxModel.
    Popups are used to display a Component to the user, typically on top of all the other Components in a particular containment hierarchy.
    PopupFactory, as the name implies, is used to obtain instances of Popups.
    A class to monitor the progress of some operation.
    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.
    This interface is implemented by components that have a single JRootPane child: JDialog, JFrame, JWindow, JApplet, JInternalFrame.
    RowFilter is used to filter out entries from the model so that they are not shown in the view.
    Enumeration of the possible comparison values supported by some of the default RowFilters.
    An Entry object is passed to instances of RowFilter, allowing the filter to get the value of the entry's data, and thus to determine whether the entry should be shown.
    RowSorter provides the basis for sorting and filtering.
    SortKey describes the sort order for a particular column.
    An interface that provides information to a scrolling container like JScrollPane.
    Constants used with the JScrollPane component.
    The layout manager used by JScrollPane.
    A model that supports at most one indexed selection.
    For the convenience of layout managers, calculates information about the size and position of components.
    A FocusTraversalPolicy that determines traversal order by sorting the Components of a focus traversal cycle based on a given Comparator.
    SortOrder is an enumeration of the possible sort orderings.
    A SpinnerModel for sequences of Dates.
    A simple implementation of SpinnerModel whose values are defined by an array or a List.
    A model for a potentially unbounded sequence of object values.
    A SpinnerModel for sequences of numbers.
    An instance of the Spring class holds three properties that characterize its behavior: the minimum, preferred, and maximum values.
    A Constraints object holds the constraints that govern the way a component's size and position change in a container controlled by a SpringLayout.
    A collection of constants generally used for positioning and orienting components on the screen.
    An annotation used to specify some swing-related information for the automatically generated BeanInfo classes.
    Values for the state bound property.
    Manages all the ToolTips in the system.
    This class is used to handle the transfer of a Transferable to and from Swing components.
    Represents a location where dropped data should be inserted.
    This class encapsulates all relevant details of a clipboard or drag and drop transfer, and also allows for customizing aspects of the drag and drop experience.
    A table of defaults for Swing components.
    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 getXXX(key) methods.
    Provides a little information about an installed LookAndFeel for the sake of configuring a menu or for initial application set up.
    An exception that indicates the requested look & feel management classes are not present on the user's system.
    Constants used to control the window-closing operation.
  • Classes in javax.swing used by javax.swing.border
    Class
    Description
    A small fixed size picture, typically used to decorate components.
  • Class
    Description
    A small fixed size picture, typically used to decorate components.
    JColorChooser provides a pane of controls designed to allow a user to manipulate and select a color.
    The base class for all Swing components except top-level containers.
    JPanel is a generic lightweight container.
  • Classes in javax.swing used by javax.swing.event
    Class
    Description
    The base class for all Swing components except top-level containers.
    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.
    Any component that can be placed into a menu should implement this interface.
    A MenuSelectionManager owns the selection in menu hierarchy.
    RowSorter provides the basis for sorting and filtering.
  • Class
    Description
    A small fixed size picture, typically used to decorate components.
  • Classes in javax.swing used by javax.swing.plaf
    Class
    Description
    ActionMap provides mappings from Objects (called keys or Action names) to Actions.
    A ComponentInputMap is an InputMap associated with a particular JComponent.
    A small fixed size picture, typically used to decorate components.
    InputMap provides a binding between an input event (currently only KeyStrokes are used) and an Object.
    An implementation of a "push" button.
    A component that combines a button or editable field and a drop-down list.
    The base class for all Swing components except top-level containers.
    JFileChooser provides a simple mechanism for the user to choose a file.
    JLayer is a universal decorator for Swing components which enables you to implement various advanced painting effects as well as receive notifications of all AWTEvents generated within its borders.
    A component that displays a list of objects and allows the user to select one or more items.
    JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.
    An implementation of a popup menu -- a small window that pops up and displays a series of choices.
    JSplitPane is used to divide two (and only two) Components.
    A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
    A control that displays a set of hierarchical data as an outline.
    Popups are used to display a Component to the user, typically on top of all the other Components in a particular containment hierarchy.
  • Class
    Description
    This class provides default implementations for the JFC Action interface.
    Defines common behaviors for buttons and menu items.
    The abstract definition for the data model that provides a List with its contents.
    The Action interface provides a useful extension to the ActionListener interface in cases where the same functionality may be accessed by several controls.
    ActionMap provides mappings from Objects (called keys or Action names) to Actions.
    A layout manager that allows multiple components to be laid out either vertically or horizontally.
    This class is inserted in between cell renderers and the components that use them.
    The editor component used for JComboBox components.
    A data model for a combo box.
    DesktopManager objects are owned by a JDesktopPane object.
    A small fixed size picture, typically used to decorate components.
    An implementation of a "push" button.
    JColorChooser provides a pane of controls designed to allow a user to manipulate and select a color.
    A component that combines a button or editable field and a drop-down list.
    The base class for all Swing components except top-level containers.
    A container used to create a multiple-document interface or a virtual desktop.
    JFileChooser provides a simple mechanism for the user to choose a file.
    An extended version of java.awt.Frame that adds support for the JFC/Swing component architecture.
    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.
    This component represents an iconified version of a JInternalFrame.
    A display area for a short text string or an image, or both.
    A component that displays a list of objects and allows the user to select one or more items.
    An implementation of a menu -- a popup window containing JMenuItems that is displayed when the user selects an item on the JMenuBar.
    An implementation of a menu bar.
    An implementation of an item in a menu.
    JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.
    JPanel is a generic lightweight container.
    An implementation of a popup menu -- a small window that pops up and displays a series of choices.
    A component that visually displays the progress of some task.
    A lightweight container used behind the scenes by JFrame, JDialog, JWindow, JApplet, and JInternalFrame.
    An implementation of a scrollbar.
    Provides a scrollable view of a lightweight component.
    JSeparator provides a general purpose component for implementing divider lines - most commonly used as a divider between menu items that breaks them up into logical groupings.
    A component that lets the user graphically select a value by sliding a knob within a bounded interval.
    A single line input field that lets the user select a number or an object value from an ordered sequence.
    JSplitPane is used to divide two (and only two) Components.
    A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
    The JTable is used to display and edit regular two-dimensional tables of cells.
    JTextField is a lightweight component that allows the editing of a single line of text.
    JToolBar provides a component that is useful for displaying commonly used Actions or controls.
    A control that displays a set of hierarchical data as an outline.
    A subclass of TransferHandler.DropLocation representing a drop location for a JTree.
    A KeyStroke represents a key action on the keyboard, or equivalent input device.
    Identifies components that can be used as "rubber stamps" to paint the cells in a JList.
    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.
    This interface represents the current state of the selection for any of the components that display a list of values with stable indices.
    LookAndFeel, as the name implies, encapsulates a look and feel.
    Any component that can be placed into a menu should implement this interface.
    A MenuSelectionManager owns the selection in menu hierarchy.
    This interface is implemented by components that have a single JRootPane child: JDialog, JFrame, JWindow, JApplet, JInternalFrame.
    Constants used with the JScrollPane component.
    A collection of constants generally used for positioning and orienting components on the screen.
    Fires one or more ActionEvents at specified intervals.
    A table of defaults for Swing components.
  • Class
    Description
    This class provides default implementations for the JFC Action interface.
    Defines common behaviors for buttons and menu items.
    The abstract definition for the data model that provides a List with its contents.
    The Action interface provides a useful extension to the ActionListener interface in cases where the same functionality may be accessed by several controls.
    ActionMap provides mappings from Objects (called keys or Action names) to Actions.
    This class is inserted in between cell renderers and the components that use them.
    The editor component used for JComboBox components.
    A data model for a combo box.
    Renders an item in a list.
    A small fixed size picture, typically used to decorate components.
    An implementation of a "push" button.
    A component that combines a button or editable field and a drop-down list.
    The base class for all Swing components except top-level containers.
    JFileChooser provides a simple mechanism for the user to choose a file.
    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.
    A display area for a short text string or an image, or both.
    A component that displays a list of objects and allows the user to select one or more items.
    An implementation of a menu -- a popup window containing JMenuItems that is displayed when the user selects an item on the JMenuBar.
    JPanel is a generic lightweight container.
    An implementation of a popup menu -- a small window that pops up and displays a series of choices.
    Provides a scrollable view of a lightweight component.
    A component that lets the user graphically select a value by sliding a knob within a bounded interval.
    JToolBar provides a component that is useful for displaying commonly used Actions or controls.
    LayoutStyle provides information about how to position components.
    Identifies components that can be used as "rubber stamps" to paint the cells in a JList.
    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.
    LookAndFeel, as the name implies, encapsulates a look and feel.
    Any component that can be placed into a menu should implement this interface.
    Constants used with the JScrollPane component.
    A collection of constants generally used for positioning and orienting components on the screen.
    A table of defaults for Swing components.
  • Class
    Description
    A component that combines a button or editable field and a drop-down list.
    The base class for all Swing components except top-level containers.
    JFileChooser provides a simple mechanism for the user to choose a file.
    A component that displays a list of objects and allows the user to select one or more items.
    JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.
    An implementation of a popup menu -- a small window that pops up and displays a series of choices.
    JSplitPane is used to divide two (and only two) Components.
    A component that lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
    A control that displays a set of hierarchical data as an outline.
    LookAndFeel, as the name implies, encapsulates a look and feel.
    Popups are used to display a Component to the user, typically on top of all the other Components in a particular containment hierarchy.
    A table of defaults for Swing components.
  • Class
    Description
    The base class for all Swing components except top-level containers.
    LookAndFeel, as the name implies, encapsulates a look and feel.
    A painting delegate.
  • Class
    Description
    Defines common behaviors for buttons and menu items.
    A small fixed size picture, typically used to decorate components.
    The base class for all Swing components except top-level containers.
    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.
    JPanel is a generic lightweight container.
    JSeparator provides a general purpose component for implementing divider lines - most commonly used as a divider between menu items that breaks them up into logical groupings.
    A component that lets the user graphically select a value by sliding a knob within a bounded interval.
    LookAndFeel, as the name implies, encapsulates a look and feel.
    Constants used with the JScrollPane component.
    A collection of constants generally used for positioning and orienting components on the screen.
    A table of defaults for Swing components.
  • Classes in javax.swing used by javax.swing.table
    Class
    Description
    This interface defines the methods any general editor should be able to implement.
    An implementation of RowSorter that provides sorting and filtering around a grid-based data model.
    The base class for all Swing components except top-level containers.
    Inner class of JComponent used to provide default support for accessibility.
    A display area for a short text string or an image, or both.
    The JTable is used to display and edit regular two-dimensional tables of cells.
    This interface represents the current state of the selection for any of the components that display a list of values with stable indices.
    RowSorter provides the basis for sorting and filtering.
    A collection of constants generally used for positioning and orienting components on the screen.
  • Classes in javax.swing used by javax.swing.text
    Class
    Description
    This class provides default implementations for the JFC Action interface.
    The Action interface provides a useful extension to the ActionListener interface in cases where the same functionality may be accessed by several controls.
    Drop modes, used to determine the method by which a component tracks and indicates a drop location during drag and drop.
    A small fixed size picture, typically used to decorate components.
    The base class for all Swing components except top-level containers.
    Inner class of JComponent used to provide default support for accessibility.
    A text component to edit various kinds of content.
    JFormattedTextField extends JTextField adding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.
    Instances of AbstractFormatter are used by JFormattedTextField to handle the conversion both from an Object to a String, and back from a String to an Object.
    Instances of AbstractFormatterFactory are used by JFormattedTextField to obtain instances of AbstractFormatter which in turn are used to format values.
    A KeyStroke represents a key action on the keyboard, or equivalent input device.
    An interface that provides information to a scrolling container like JScrollPane.
    For the convenience of layout managers, calculates information about the size and position of components.
    A collection of constants generally used for positioning and orienting components on the screen.
    An annotation used to specify some swing-related information for the automatically generated BeanInfo classes.
    Represents a location where dropped data should be inserted.
  • Class
    Description
    This class provides default implementations for the JFC Action interface.
    The Action interface provides a useful extension to the ActionListener interface in cases where the same functionality may be accessed by several controls.
    A small fixed size picture, typically used to decorate components.
    A text component to edit various kinds of content.
    For the convenience of layout managers, calculates information about the size and position of components.
    A collection of constants generally used for positioning and orienting components on the screen.
  • Classes in javax.swing used by javax.swing.tree
    Class
    Description
    This interface defines the methods any general editor should be able to implement.
    Default data model for list selections.
    A small fixed size picture, typically used to decorate components.
    The base class for all Swing components except top-level containers.
    A display area for a short text string or an image, or both.
    JTextField is a lightweight component that allows the editing of a single line of text.
    A control that displays a set of hierarchical data as an outline.
    An interface that provides information to a scrolling container like JScrollPane.
    A collection of constants generally used for positioning and orienting components on the screen.
    Fires one or more ActionEvents at specified intervals.