JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Class
java.awt.Component

Packages that use Component
java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. 
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. 
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. 
java.awt.im Provides classes and interfaces for the input method framework. 
java.beans Contains classes related to developing beans -- components based on the JavaBeansTM architecture. 
java.beans.beancontext Provides classes and interfaces relating to bean context. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.border Provides classes and interface for drawing specialized borders around a Swing component. 
javax.swing.colorchooser Contains classes and interfaces used by the JColorChooser component. 
javax.swing.event Provides for events fired by Swing components. 
javax.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel. 
javax.swing.plaf.metal Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel. 
javax.swing.table Provides classes and interfaces for dealing with javax.swing.JTable
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
javax.swing.text.html Provides the class HTMLEditorKit and supporting classes for creating HTML text editors. 
javax.swing.tree Provides classes and interfaces for dealing with javax.swing.JTree
 

Uses of Component in java.applet
 

Subclasses of Component in java.applet
 class Applet
          An applet is a small program that is intended not to be run on its own, but rather to be embedded inside another application.
 

Uses of Component in java.awt
 

Subclasses of Component in java.awt
 class Button
          This class creates a labeled button.
 class Canvas
          A Canvas component represents a blank rectangular area of the screen onto which the application can draw or from which the application can trap input events from the user.
 class Checkbox
          A check box is a graphical component that can be in either an "on" (true) or "off" (false) state.
 class Choice
          The Choice class presents a pop-up menu of choices.
 class Container
          A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.
 class Dialog
          A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user.
 class FileDialog
          The FileDialog class displays a dialog window from which the user can select a file.
 class Frame
          A Frame is a top-level window with a title and a border.
 class Label
          A Label object is a component for placing text in a container.
 class List
          The List component presents the user with a scrolling list of text items.
 class Panel
          Panel is the simplest container class.
 class Scrollbar
          The Scrollbar class embodies a scroll bar, a familiar user-interface object.
 class ScrollPane
          A container class which implements automatic horizontal and/or vertical scrolling for a single child component.
 class TextArea
          A TextArea object is a multi-line region that displays text.
 class TextComponent
          The TextComponent class is the superclass of any component that allows the editing of some text.
 class TextField
          A TextField object is a text component that allows for the editing of a single line of text.
 class Window
          A Window object is a top-level window with no borders and no menubar.
 

Methods in java.awt that return Component
 Component KeyboardFocusManager.getFocusOwner()
          Returns the focus owner, if the focus owner is in the same context as the calling thread.
protected  Component KeyboardFocusManager.getGlobalFocusOwner()
          Returns the focus owner, even if the calling thread is in a different context than the focus owner.
 Component KeyboardFocusManager.getPermanentFocusOwner()
          Returns the permanent focus owner, if the permanent focus owner is in the same context as the calling thread.
protected  Component KeyboardFocusManager.getGlobalPermanentFocusOwner()
          Returns the permanent focus owner, even if the calling thread is in a different context than the permanent focus owner.
 Component ContainerOrderFocusTraversalPolicy.getComponentAfter(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus after aComponent.
 Component ContainerOrderFocusTraversalPolicy.getComponentBefore(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus before aComponent.
 Component ContainerOrderFocusTraversalPolicy.getFirstComponent(Container focusCycleRoot)
          Returns the first Component in the traversal cycle.
 Component ContainerOrderFocusTraversalPolicy.getLastComponent(Container focusCycleRoot)
          Returns the last Component in the traversal cycle.
 Component ContainerOrderFocusTraversalPolicy.getDefaultComponent(Container focusCycleRoot)
          Returns the default Component to focus.
 Component Window.getFocusOwner()
          Returns the child Component of this Window that has focus if this Window is focused; returns null otherwise.
 Component Window.getMostRecentFocusOwner()
          Returns the child Component of this Window that will receive the focus when this Window is focused.
abstract  Component FocusTraversalPolicy.getComponentAfter(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus after aComponent.
abstract  Component FocusTraversalPolicy.getComponentBefore(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus before aComponent.
abstract  Component FocusTraversalPolicy.getFirstComponent(Container focusCycleRoot)
          Returns the first Component in the traversal cycle.
abstract  Component FocusTraversalPolicy.getLastComponent(Container focusCycleRoot)
          Returns the last Component in the traversal cycle.
abstract  Component FocusTraversalPolicy.getDefaultComponent(Container focusCycleRoot)
          Returns the default Component to focus.
 Component FocusTraversalPolicy.getInitialComponent(Window window)
          Returns the Component that should receive the focus when a Window is made visible for the first time.
 Component Container.getComponent(int n)
          Gets the nth component in this container.
 Component[] Container.getComponents()
          Gets all the components in this container.
 Component Container.add(Component comp)
          Appends the specified component to the end of this container.
 Component Container.add(String name, Component comp)
          Adds the specified component to this container.
 Component Container.add(Component comp, int index)
          Adds the specified component to this container at the given position.
 Component Container.getComponentAt(int x, int y)
          Locates the component that contains the x,y position.
 Component Container.locate(int x, int y)
          Deprecated. As of JDK version 1.1, replaced by getComponentAt(int, int).
 Component Container.getComponentAt(Point p)
          Gets the component that contains the specified point.
 Component Container.findComponentAt(int x, int y)
          Locates the visible child component that contains the specified position.
 Component Container.findComponentAt(Point p)
          Locates the visible child component that contains the specified point.
 Component Component.getComponentAt(int x, int y)
          Determines if this component or one of its immediate subcomponents contains the (xy) location, and if so, returns the containing component.
 Component Component.locate(int x, int y)
          Deprecated. As of JDK version 1.1, replaced by getComponentAt(int, int).
 Component Component.getComponentAt(Point p)
          Returns the component or subcomponent that contains the specified point.
 

Methods in java.awt with parameters of type Component
protected  void KeyboardFocusManager.setGlobalFocusOwner(Component focusOwner)
          Sets the focus owner.
protected  void KeyboardFocusManager.setGlobalPermanentFocusOwner(Component permanentFocusOwner)
          Sets the permanent focus owner.
 void KeyboardFocusManager.redispatchEvent(Component target, AWTEvent e)
          Redispatches an AWTEvent in such a way that the AWT event dispatcher will not recursively request that the KeyboardFocusManager, or any installed KeyEventDispatchers, dispatch the event again.
abstract  void KeyboardFocusManager.processKeyEvent(Component focusedComponent, KeyEvent e)
          This method initiates a focus traversal operation if and only if the KeyEvent represents a focus traversal key for the specified focusedComponent.
protected abstract  void KeyboardFocusManager.enqueueKeyEvents(long after, Component untilFocused)
          Called by the AWT to notify the KeyboardFocusManager that it should delay dispatching of KeyEvents until the specified Component becomes the focus owner.
protected abstract  void KeyboardFocusManager.dequeueKeyEvents(long after, Component untilFocused)
          Called by the AWT to notify the KeyboardFocusManager that it should cancel delayed dispatching of KeyEvents.
protected abstract  void KeyboardFocusManager.discardKeyEvents(Component comp)
          Called by the AWT to notify the KeyboardFocusManager that it should cancel delayed dispatching of KeyEvents.
abstract  void KeyboardFocusManager.focusNextComponent(Component aComponent)
          Focuses the Component after aComponent, typically based on a FocusTraversalPolicy.
abstract  void KeyboardFocusManager.focusPreviousComponent(Component aComponent)
          Focuses the Component before aComponent, typically based on a FocusTraversalPolicy.
abstract  void KeyboardFocusManager.upFocusCycle(Component aComponent)
          Moves the focus up one focus traversal cycle.
 void DefaultKeyboardFocusManager.processKeyEvent(Component focusedComponent, KeyEvent e)
          This method initiates a focus traversal operation if and only if the KeyEvent represents a focus traversal key for the specified focusedComponent.
protected  void DefaultKeyboardFocusManager.enqueueKeyEvents(long after, Component untilFocused)
          Delays dispatching of KeyEvents until the specified Component becomes the focus owner.
protected  void DefaultKeyboardFocusManager.dequeueKeyEvents(long after, Component untilFocused)
          Releases for normal dispatching to the current focus owner all KeyEvents which were enqueued because of a call to enqueueKeyEvents with the same timestamp and Component.
protected  void DefaultKeyboardFocusManager.discardKeyEvents(Component comp)
          Discards all KeyEvents which were enqueued because of one or more calls to enqueueKeyEvents with the specified Component, or one of its descendants.
 void DefaultKeyboardFocusManager.focusPreviousComponent(Component aComponent)
          Focuses the Component before aComponent, typically based on a FocusTraversalPolicy.
 void DefaultKeyboardFocusManager.focusNextComponent(Component aComponent)
          Focuses the Component after aComponent, typically based on a FocusTraversalPolicy.
 void DefaultKeyboardFocusManager.upFocusCycle(Component aComponent)
          Moves the focus up one focus traversal cycle.
protected  boolean DefaultFocusTraversalPolicy.accept(Component aComponent)
          Determines whether a Component is an acceptable choice as the new focus owner.
 Component ContainerOrderFocusTraversalPolicy.getComponentAfter(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus after aComponent.
 Component ContainerOrderFocusTraversalPolicy.getComponentBefore(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus before aComponent.
protected  boolean ContainerOrderFocusTraversalPolicy.accept(Component aComponent)
          Determines whether a Component is an acceptable choice as the new focus owner.
 void GridBagLayout.setConstraints(Component comp, GridBagConstraints constraints)
          Sets the constraints for the specified component in this layout.
 GridBagConstraints GridBagLayout.getConstraints(Component comp)
          Gets the constraints for the specified component.
protected  GridBagConstraints GridBagLayout.lookupConstraints(Component comp)
          Retrieves the constraints for the specified component.
 void GridBagLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component with the specified name to the layout.
 void GridBagLayout.addLayoutComponent(Component comp, Object constraints)
          Adds the specified component to the layout, using the specified constraints object.
 void GridBagLayout.removeLayoutComponent(Component comp)
          Removes the specified component from this layout.
 void CardLayout.addLayoutComponent(Component comp, Object constraints)
          Adds the specified component to this card layout's internal table of names.
 void CardLayout.addLayoutComponent(String name, Component comp)
          Deprecated. replaced by addLayoutComponent(Component, Object).
 void CardLayout.removeLayoutComponent(Component comp)
          Removes the specified component from the layout.
 void FlowLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component to the layout.
 void FlowLayout.removeLayoutComponent(Component comp)
          Removes the specified component from the layout.
 void GridLayout.addLayoutComponent(String name, Component comp)
          Adds the specified component with the specified name to the layout.
 void GridLayout.removeLayoutComponent(Component comp)
          Removes the specified component from the layout.
 void BorderLayout.addLayoutComponent(Component comp, Object constraints)
          Adds the specified component to the layout, using the specified constraint object.
 void BorderLayout.addLayoutComponent(String name, Component comp)
          Deprecated. replaced by addLayoutComponent(Component, Object).
 void BorderLayout.removeLayoutComponent(Component comp)
          Removes the specified component from this border layout.
 void LayoutManager2.addLayoutComponent(Component comp, Object constraints)
          Adds the specified component to the layout, using the specified constraint object.
 void Window.setLocationRelativeTo(Component c)
          Sets the location of the window relative to the specified component.
protected  void ScrollPane.addImpl(Component comp, Object constraints, int index)
          Adds the specified component to this scroll pane container.
abstract  Component FocusTraversalPolicy.getComponentAfter(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus after aComponent.
abstract  Component FocusTraversalPolicy.getComponentBefore(Container focusCycleRoot, Component aComponent)
          Returns the Component that should receive the focus before aComponent.
 void LayoutManager.addLayoutComponent(String name, Component comp)
          If the layout manager uses a per-component string, adds the component comp to the layout, associating it with the string specified by name.
 void LayoutManager.removeLayoutComponent(Component comp)
          Removes the specified component from the layout.
 void PopupMenu.show(Component origin, int x, int y)
          Shows the popup menu at the x, y position relative to an origin component.
protected  java.awt.peer.LightweightPeer Toolkit.createComponent(Component target)
          Creates a peer for a component or container.
protected static Container Toolkit.getNativeContainer(Component c)
          Give native peers the ability to query the native container given a native component (eg the direct parent may be lightweight).
 DragGestureRecognizer Toolkit.createDragGestureRecognizer(Class abstractRecognizerClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)
          Creates a concrete, platform dependent, subclass of the abstract DragGestureRecognizer class requested, and associates it with the DragSource, Component and DragGestureListener specified.
 Component Container.add(Component comp)
          Appends the specified component to the end of this container.
 Component Container.add(String name, Component comp)
          Adds the specified component to this container.
 Component Container.add(Component comp, int index)
          Adds the specified component to this container at the given position.
 void Container.add(Component comp, Object constraints)
          Adds the specified component to the end of this container.
 void Container.add(Component comp, Object constraints, int index)
          Adds the specified component to this container with the specified constraints at the specified index.
protected  void Container.addImpl(Component comp, Object constraints, int index)
          Adds the specified component to this container at the specified index.
 void Container.remove(Component comp)
          Removes the specified component from this container.
 boolean Container.isAncestorOf(Component c)
          Checks if the component is contained in the component hierarchy of this container.
 

Constructors in java.awt with parameters of type Component
MediaTracker(Component comp)
          Creates a media tracker to track images for a given component.
 

Uses of Component in java.awt.dnd
 

Fields in java.awt.dnd declared as Component
protected  Component DragGestureRecognizer.component
          The Component associated with this DragGestureRecognizer.
 

Methods in java.awt.dnd that return Component
 Component DragSourceContext.getComponent()
          Returns the Component associated with this DragSourceContext.
 Component DragGestureRecognizer.getComponent()
          This method returns the Component that is to be "observed" by the DragGestureRecognizer for drag initiating gestures.
 Component DragGestureEvent.getComponent()
          Returns the Component associated with this DragGestureEvent.
 Component DropTargetContext.getComponent()
          This method returns the Component associated with this DropTargetContext.
 Component DropTarget.getComponent()
          Gets the Component associated with this DropTarget.
 

Methods in java.awt.dnd with parameters of type Component
 void DragGestureRecognizer.setComponent(Component c)
          set the Component that the DragGestureRecognizer is associated with registerListeners() and unregisterListeners() are called as a side effect as appropriate.
 DragGestureRecognizer DragSource.createDragGestureRecognizer(Class recognizerAbstractClass, Component c, int actions, DragGestureListener dgl)
          Creates a new DragGestureRecognizer that implements the specified abstract subclass of DragGestureRecognizer, and sets the specified Component and DragGestureListener on the newly created object.
 DragGestureRecognizer DragSource.createDefaultDragGestureRecognizer(Component c, int actions, DragGestureListener dgl)
          Creates a new DragGestureRecognizer that implements the default abstract subclass of DragGestureRecognizer for this DragSource, and sets the specified Component and DragGestureListener on the newly created object.
 void DropTarget.setComponent(Component c)
          Note: this interface is required to permit the safe association of a DropTarget with a Component in one of two ways, either: component.setDropTarget(droptarget); or droptarget.setComponent(component);
protected  DropTarget.DropTargetAutoScroller DropTarget.createDropTargetAutoScroller(Component c, Point p)
          create an embedded autoscroller
 

Constructors in java.awt.dnd with parameters of type Component
MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl)
          Construct a new MouseDragGestureRecognizer given the DragSource for the Component c, the Component to observe, the action(s) permitted for this drag operation, and the DragGestureListener to notify when a drag gesture is detected.
MouseDragGestureRecognizer(DragSource ds, Component c, int act)
          Construct a new MouseDragGestureRecognizer given the DragSource for the Component c, the Component to observe, and the action(s) permitted for this drag operation.
MouseDragGestureRecognizer(DragSource ds, Component c)
          Construct a new MouseDragGestureRecognizer given the DragSource for the Component c, and the Component to observe.
DragGestureRecognizer(DragSource ds, Component c, int sa, DragGestureListener dgl)
          Construct a new DragGestureRecognizer given the DragSource to be used in this Drag and Drop operation, the Component this DragGestureRecognizer should "observe" for drag initiating gestures, the action(s) supported for this Drag and Drop operation, and the DragGestureListener to notify once a drag initiating gesture has been detected.
DragGestureRecognizer(DragSource ds, Component c, int sa)
          Construct a new DragGestureRecognizer given the DragSource to be used in this Drag and Drop operation, the Component this DragGestureRecognizer should "observe" for drag initiating gestures, and the action(s) supported for this Drag and Drop operation.
DragGestureRecognizer(DragSource ds, Component c)
          Construct a new DragGestureRecognizer given the DragSource to be used in this Drag and Drop operation, and the Component this DragGestureRecognizer should "observe" for drag initiating gestures.
DropTarget(Component c, int ops, DropTargetListener dtl, boolean act, FlavorMap fm)
          Creates a new DropTarget given the Component to associate itself with, an int representing the default acceptable action(s) to support, a DropTargetListener to handle event processing, a boolean indicating if the DropTarget is currently accepting drops, and a FlavorMap to use (or null for the default FlavorMap).
DropTarget(Component c, int ops, DropTargetListener dtl, boolean act)
          Creates a DropTarget given the Component to associate itself with, an int representing the default acceptable action(s) to support, a DropTargetListener to handle event processing, and a boolean indicating if the DropTarget is currently accepting drops.
DropTarget(Component c, DropTargetListener dtl)
          Creates a DropTarget given the Component to associate itself with, and the DropTargetListener to handle event processing.
DropTarget(Component c, int ops, DropTargetListener dtl)
          Creates a DropTarget given the Component to associate itself with, an int representing the default acceptable action(s) to support, and a DropTargetListener to handle event processing.
DropTarget.DropTargetAutoScroller(Component c, Point p)
          construct a DropTargetAutoScroller
 

Uses of Component in java.awt.event
 

Methods in java.awt.event that return Component
 Component ContainerEvent.getChild()
          Returns the component that was affected by the event.
 Component HierarchyEvent.getComponent()
          Returns the originator of the event.
 Component HierarchyEvent.getChanged()
          Returns the Component at the top of the hierarchy which was changed.
 Component FocusEvent.getOppositeComponent()
          Returns the other Component involved in this focus change.
 Component ComponentEvent.getComponent()
          Returns the originator of the event.
 

Constructors in java.awt.event with parameters of type Component
ContainerEvent(Component source, int id, Component child)
          Constructs a ContainerEvent object.
PaintEvent(Component source, int id, Rectangle updateRect)
          Constructs a PaintEvent object with the specified source component and type.
HierarchyEvent(Component source, int id, Component changed, Container changedParent)
          Constructs an HierarchyEvent object to identify a change in the Component hierarchy.
HierarchyEvent(Component source, int id, Component changed, Container changedParent, long changeFlags)
          Constructs an HierarchyEvent object to identify a change in the Component hierarchy.
InputMethodEvent(Component source, int id, long when, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
          Constructs an InputMethodEvent with the specified source component, type, time, text, caret, and visiblePosition.
InputMethodEvent(Component source, int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
          Constructs an InputMethodEvent with the specified source component, type, text, caret, and visiblePosition.
InputMethodEvent(Component source, int id, TextHitInfo caret, TextHitInfo visiblePosition)
          Constructs an InputMethodEvent with the specified source component, type, caret, and visiblePosition.
FocusEvent(Component source, int id, boolean temporary, Component opposite)
          Constructs a FocusEvent object with the specified temporary state and opposite Component.
FocusEvent(Component source, int id, boolean temporary)
          Constructs a FocusEvent object and identifies whether or not the change is temporary.
FocusEvent(Component source, int id)
          Constructs a FocusEvent object and identifies it as a permanent change in focus.
MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button)
          Constructs a MouseEvent object with the specified source component, type, modifiers, coordinates, and click count.
MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger)
          Constructs a MouseEvent object with the specified source component, type, modifiers, coordinates, and click count.
MouseWheelEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int scrollType, int scrollAmount, int wheelRotation)
          Constructs a MouseWheelEvent object with the specified source component, type, modifiers, coordinates, scroll type, scroll amount, and wheel rotation.
ComponentEvent(Component source, int id)
          Constructs a ComponentEvent object.
KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar, int keyLocation)
           
KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar)
          Constructs a KeyEvent object.
KeyEvent(Component source, int id, long when, int modifiers, int keyCode)
          Deprecated. as of JDK1.1
 

Uses of Component in java.awt.im
 

Methods in java.awt.im with parameters of type Component
 void InputContext.removeNotify(Component client)
          Notifies the input context that a client component has been removed from its containment hierarchy, or that input method support has been disabled for the component.
 

Uses of Component in java.beans
 

Methods in java.beans that return Component
 Component PropertyEditorSupport.getCustomEditor()
          A PropertyEditor may chose to make available a full custom Component that edits its property value.
 Component PropertyEditor.getCustomEditor()
          A PropertyEditor may choose to make available a full custom Component that edits its property value.
 

Uses of Component in java.beans.beancontext
 

Methods in java.beans.beancontext that return Component
 Component BeanContextChildComponentProxy.getComponent()
          Gets the java.awt.Component associated with this BeanContextChild.
 

Uses of Component in javax.swing
 

Subclasses of Component in javax.swing
 class AbstractButton
          Defines common behaviors for buttons and menu items.
 class Box
          A lightweight container that uses a BoxLayout object as its layout manager.
static class Box.Filler
          An implementation of a lightweight component that participates in layout but has no view.
 class CellRendererPane
          This class is inserted in between cell renderers and the components that use them.
 class DefaultListCellRenderer
          Renders an item in a list.
static class DefaultListCellRenderer.UIResource
          A subclass of DefaultListCellRenderer that implements UIResource.
 class JApplet
          An extended version of java.applet.Applet that adds support for the JFC/Swing component architecture.
 class JButton
          An implementation of a "push" button.
 class JCheckBox
          An implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user.
 class JCheckBoxMenuItem
          A menu item that can be selected or deselected.
 class JColorChooser
          JColorChooser provides a pane of controls designed to allow a user to manipulate and select a color.
 class JComboBox
          A component that combines a button or editable field and a drop-down list.
 class JComponent
          The base class for all Swing components except top-level containers.
 class JDesktopPane
          A container used to create a multiple-document interface or a virtual desktop.
 class JDialog
          The main class for creating a dialog window.
 class JEditorPane
          A text component to edit various kinds of content.
 class JFileChooser
          JFileChooser provides a simple mechanism for the user to choose a file.
 class JFormattedTextField
          JFormattedTextField extends JTextField adding support for formatting arbitrary values, as well as retrieving a particular object once the user has edited the text.
 class JFrame
          An extended version of java.awt.Frame that adds support for the JFC/Swing component architecture.
 class JInternalFrame
          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.
static class JInternalFrame.JDesktopIcon
          This component represents an iconified version of a JInternalFrame.
 class JLabel
          A display area for a short text string or an image, or both.
 class JLayeredPane
          JLayeredPane adds depth to a JFC/Swing container, allowing components to overlap each other when needed.
 class JList
          A component that allows the user to select one or more objects from a list.
 class JMenu
          An implementation of a menu -- a popup window containing JMenuItems that is displayed when the user selects an item on the JMenuBar.
 class JMenuBar
          An implementation of a menu bar.
 class JMenuItem
          An implementation of an item in a menu.
 class JOptionPane
          JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.
 class JPanel
          JPanel is a generic lightweight container.
 class JPasswordField
          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.
 class JPopupMenu
          An implementation of a popup menu -- a small window that pops up and displays a series of choices.
static class JPopupMenu.Separator
          A popup menu-specific separator.
 class JProgressBar
          A component that, by default, displays an integer value within a bounded interval.
 class JRadioButton
          An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user.
 class JRadioButtonMenuItem
          An implementation of a radio button menu item.
 class JRootPane
          A lightweight container used behind the scenes by JFrame, JDialog, JWindow, JApplet, and JInternalFrame.
 class JScrollBar
          An implementation of a scrollbar.
 class JScrollPane
          Provides a scrollable view of a lightweight component.
protected  class JScrollPane.ScrollBar
          By default JScrollPane creates scrollbars that are instances of this class.
 class JSeparator
          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.
 class JSlider
          A component that lets the user graphically select a value by sliding a knob within a bounded interval.
 class JSpinner
          A single line input field that lets the user select a number or an object value from an ordered sequence.
static class JSpinner.DateEditor
          An editor for a JSpinner whose model is a SpinnerDateModel.
static class JSpinner.DefaultEditor
          A simple base class for more specialized editors that displays a read-only view of the model's current value with a JFormattedTextField.
stati