Uses of Package
javax.swing
Packages that use javax.swing
Package
Description
This package contains the JConsole API.
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 com.sun.tools.jconsoleClassDescription
JPanelis a generic lightweight container.An abstract class to perform lengthy GUI-interaction tasks in a background thread. -
Classes in javax.swing used by java.awt
-
Classes in javax.swing used by java.awt.im.spiClassDescriptionAn extended version of
java.awt.Framethat adds support for the JFC/Swing component architecture. -
Classes in javax.swing used by javax.swingClassDescriptionDefines common behaviors for buttons and menu items.This class implements accessibility support for the
AbstractButtonclass.A base class forCellEditors, providing default implementations for the methods in theCellEditorinterface exceptgetCellEditorValue().The abstract definition for the data model that provides aListwith its contents.This class provides the ChangeListener part of the SpinnerModel interface that should be suitable for most concrete SpinnerModel implementations.TheActioninterface provides a useful extension to theActionListenerinterface in cases where the same functionality may be accessed by several controls.ActionMapprovides mappings fromObjects (called keys orActionnames) toActions.Defines the data model used by components likeSliders andProgressBars.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.AComponentInputMapis anInputMapassociated with a particularJComponent.The default implementation of aButtoncomponent's data model.The protectedEditorDelegateclass.Renders an item in a list.DefaultRowSorter.ModelWrapperis responsible for providing the data that gets sorted byDefaultRowSorter.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 waysParallelGroupcan align its children.Groupprovides the basis for the two types of operations supported byGroupLayout: laying out components one after another (SequentialGroup) or aligned (ParallelGroup).AGroupthat aligns and sizes its children.AGroupthat positions and sizes its elements sequentially, one after another.A small fixed size picture, typically used to decorate components.InputMapprovides a binding between an input event (currently onlyKeyStrokes are used) and anObject.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.JColorChooserprovides 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 aKeySelectionManager.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 theJEditorPaneclass.JFormattedTextFieldextendsJTextFieldadding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.Instances ofAbstractFormatterare used byJFormattedTextFieldto handle the conversion both from an Object to a String, and back from a String to an Object.Instances ofAbstractFormatterFactoryare used byJFormattedTextFieldto obtain instances ofAbstractFormatterwhich 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 aJInternalFrame.A display area for a short text string or an image, or both.JLayeredPaneadds 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 ofTransferHandler.DropLocationrepresenting a drop location for aJList.An implementation of a menu -- a popup window containingJMenuItems that is displayed when the user selects an item on theJMenuBar.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 theJMenuItemclass.JPanelis 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 byJFrame,JDialog,JWindow,JApplet, andJInternalFrame.An implementation of a scrollbar.Provides a scrollable view of a lightweight component.JSeparatorprovides 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 aJFormattedTextField.TheJTableis used to display and edit regular two-dimensional tables of cells.A subclass ofTransferHandler.DropLocationrepresenting a drop location for aJTable.Printing modes, used in printingJTables.JTextFieldis a lightweight component that allows the editing of a single line of text.This class implements accessibility support for theJTextFieldclass.An implementation of a two-state button.This class implements accessibility support for theJToggleButtonclass.Used to display a "Tip" for a Component.A control that displays a set of hierarchical data as an outline.A subclass ofTransferHandler.DropLocationrepresenting a drop location for aJTree.EmptySelectionModelis aTreeSelectionModelthat does not allow anything to be selected.Handles creating a newTreeSelectionEventwith theJTreeas 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.LayoutStyleprovides information about how to position components.ComponentPlacementis 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 ofComboBoxModel.Popups are used to display aComponentto the user, typically on top of all the otherComponents in a particular containment hierarchy.PopupFactory, as the name implies, is used to obtain instances ofPopups.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.RowFilteris 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 defaultRowFilters.AnEntryobject is passed to instances ofRowFilter, allowing the filter to get the value of the entry's data, and thus to determine whether the entry should be shown.RowSorterprovides 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 byJScrollPane.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.ASpinnerModelfor sequences ofDates.A simple implementation ofSpinnerModelwhose values are defined by an array or aList.A model for a potentially unbounded sequence of object values.ASpinnerModelfor sequences of numbers.An instance of theSpringclass holds three properties that characterize its behavior: the minimum, preferred, and maximum values.AConstraintsobject holds the constraints that govern the way a component's size and position change in a container controlled by aSpringLayout.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 generatedBeanInfoclasses.Values for thestatebound property.Manages all theToolTipsin the system.This class is used to handle the transfer of aTransferableto 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 thegetXXX(key)methods.Provides a little information about an installedLookAndFeelfor 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
-
Classes in javax.swing used by javax.swing.colorchooserClassDescriptionA small fixed size picture, typically used to decorate components.
JColorChooserprovides 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.JPanelis a generic lightweight container. -
Classes in javax.swing used by javax.swing.eventClassDescriptionThe 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.
RowSorterprovides the basis for sorting and filtering. -
Classes in javax.swing used by javax.swing.filechooser
-
Classes in javax.swing used by javax.swing.plafClassDescription
ActionMapprovides mappings fromObjects (called keys orActionnames) toActions.AComponentInputMapis anInputMapassociated with a particularJComponent.A small fixed size picture, typically used to decorate components.InputMapprovides a binding between an input event (currently onlyKeyStrokes are used) and anObject.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.JFileChooserprovides a simple mechanism for the user to choose a file.JLayeris a universal decorator for Swing components which enables you to implement various advanced painting effects as well as receive notifications of allAWTEvents generated within its borders.A component that displays a list of objects and allows the user to select one or more items.JOptionPanemakes 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.JSplitPaneis 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 aComponentto the user, typically on top of all the otherComponents in a particular containment hierarchy. -
Classes in javax.swing used by javax.swing.plaf.basicClassDescriptionThis class provides default implementations for the JFC
Actioninterface.Defines common behaviors for buttons and menu items.The abstract definition for the data model that provides aListwith its contents.TheActioninterface provides a useful extension to theActionListenerinterface in cases where the same functionality may be accessed by several controls.ActionMapprovides mappings fromObjects (called keys orActionnames) toActions.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.JColorChooserprovides 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.JFileChooserprovides a simple mechanism for the user to choose a file.An extended version ofjava.awt.Framethat 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 aJInternalFrame.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 containingJMenuItems that is displayed when the user selects an item on theJMenuBar.An implementation of a menu bar.An implementation of an item in a menu.JOptionPanemakes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.JPanelis 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 byJFrame,JDialog,JWindow,JApplet, andJInternalFrame.An implementation of a scrollbar.Provides a scrollable view of a lightweight component.JSeparatorprovides 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.JSplitPaneis 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.TheJTableis used to display and edit regular two-dimensional tables of cells.JTextFieldis a lightweight component that allows the editing of a single line of text.JToolBarprovides a component that is useful for displaying commonly usedActions or controls.A control that displays a set of hierarchical data as an outline.A subclass ofTransferHandler.DropLocationrepresenting a drop location for aJTree.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 moreActionEvents at specified intervals.A table of defaults for Swing components. -
Classes in javax.swing used by javax.swing.plaf.metalClassDescriptionThis class provides default implementations for the JFC
Actioninterface.Defines common behaviors for buttons and menu items.The abstract definition for the data model that provides aListwith its contents.TheActioninterface provides a useful extension to theActionListenerinterface in cases where the same functionality may be accessed by several controls.ActionMapprovides mappings fromObjects (called keys orActionnames) toActions.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.JFileChooserprovides 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 containingJMenuItems that is displayed when the user selects an item on theJMenuBar.JPanelis 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.JToolBarprovides a component that is useful for displaying commonly usedActions or controls.LayoutStyleprovides 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. -
Classes in javax.swing used by javax.swing.plaf.multiClassDescriptionA component that combines a button or editable field and a drop-down list.The base class for all Swing components except top-level containers.
JFileChooserprovides 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.JOptionPanemakes 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.JSplitPaneis 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 aComponentto the user, typically on top of all the otherComponents in a particular containment hierarchy.A table of defaults for Swing components. -
Classes in javax.swing used by javax.swing.plaf.nimbusClassDescriptionThe base class for all Swing components except top-level containers.
LookAndFeel, as the name implies, encapsulates a look and feel.A painting delegate. -
Classes in javax.swing used by javax.swing.plaf.synthClassDescriptionDefines 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.
JPanelis a generic lightweight container.JSeparatorprovides 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.tableClassDescriptionThis interface defines the methods any general editor should be able to implement.An implementation of
RowSorterthat 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.TheJTableis 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.RowSorterprovides 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.textClassDescriptionThis class provides default implementations for the JFC
Actioninterface.TheActioninterface provides a useful extension to theActionListenerinterface 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.JFormattedTextFieldextendsJTextFieldadding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.Instances ofAbstractFormatterare used byJFormattedTextFieldto handle the conversion both from an Object to a String, and back from a String to an Object.Instances ofAbstractFormatterFactoryare used byJFormattedTextFieldto obtain instances ofAbstractFormatterwhich 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 generatedBeanInfoclasses.Represents a location where dropped data should be inserted. -
Classes in javax.swing used by javax.swing.text.htmlClassDescriptionThis class provides default implementations for the JFC
Actioninterface.TheActioninterface provides a useful extension to theActionListenerinterface 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.treeClassDescriptionThis 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.
JTextFieldis 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 moreActionEvents at specified intervals.