| Package | Description | 
|---|---|
| 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 JavaBeans™ 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  JColorChoosercomponent. | 
| 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.plaf.synth | 
      Synth is a skinnable look and feel in which all painting is
      delegated. | 
| 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  HTMLEditorKitand supporting classes
for creating HTML text editors. | 
| javax.swing.tree | Provides classes and interfaces for dealing with
 javax.swing.JTree. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AppletAn applet is a small program that is intended not to be run on
 its own, but rather to be embedded inside another application. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ButtonThis class creates a labeled button. | 
| class  | CanvasA  Canvascomponent 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  | CheckboxA check box is a graphical component that can be in either an
 "on" ( true) or "off" (false) state. | 
| class  | ChoiceThe  Choiceclass presents a pop-up menu of choices. | 
| class  | ContainerA generic Abstract Window Toolkit(AWT) container object is a component
 that can contain other AWT components. | 
| class  | DialogA 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  | FileDialogThe  FileDialogclass displays a dialog window
 from which the user can select a file. | 
| class  | FrameA  Frameis a top-level window with a title and a border. | 
| class  | LabelA  Labelobject is a component for placing text in a
 container. | 
| class  | ListThe  Listcomponent presents the user with a
 scrolling list of text items. | 
| class  | PanelPanelis the simplest container class. | 
| class  | ScrollbarThe  Scrollbarclass embodies a scroll bar, a
 familiar user-interface object. | 
| class  | ScrollPaneA container class which implements automatic horizontal and/or
 vertical scrolling for a single child component. | 
| class  | TextAreaA  TextAreaobject is a multi-line region
 that displays text. | 
| class  | TextComponentThe  TextComponentclass is the superclass of
 any component that allows the editing of some text. | 
| class  | TextFieldA  TextFieldobject is a text component
 that allows for the editing of a single line of text. | 
| class  | WindowA  Windowobject is a top-level window with no borders and no
 menubar. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Hashtable<Component,GridBagConstraints> | GridBagLayout. comptableThis hashtable maintains the association between
 a component and its gridbag constraints. | 
| Modifier and Type | Method and Description | 
|---|---|
| Component | Container. add(Component comp)Appends the specified component to the end of this container. | 
| Component | Container. add(Component comp,
   int index)Adds the specified component to this container at the given
 position. | 
| Component | Container. add(String name,
   Component comp)Adds the specified component to this container. | 
| 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 | Container. getComponent(int n)Gets the nth component in this container. | 
| abstract Component | FocusTraversalPolicy. getComponentAfter(Container aContainer,
                 Component aComponent)Returns the Component that should receive the focus after aComponent. | 
| Component | ContainerOrderFocusTraversalPolicy. getComponentAfter(Container aContainer,
                 Component aComponent)Returns the Component that should receive the focus after aComponent. | 
| Component | Container. getComponentAt(int x,
              int y)Locates the component that contains the x,y position. | 
| Component | Component. getComponentAt(int x,
              int y)Determines if this component or one of its immediate
 subcomponents contains the (x, y) location,
 and if so, returns the containing component. | 
| Component | Container. getComponentAt(Point p)Gets the component that contains the specified point. | 
| Component | Component. getComponentAt(Point p)Returns the component or subcomponent that contains the
 specified point. | 
| abstract Component | FocusTraversalPolicy. getComponentBefore(Container aContainer,
                  Component aComponent)Returns the Component that should receive the focus before aComponent. | 
| Component | ContainerOrderFocusTraversalPolicy. getComponentBefore(Container aContainer,
                  Component aComponent)Returns the Component that should receive the focus before aComponent. | 
| Component[] | Container. getComponents()Gets all the components in this container. | 
| abstract Component | FocusTraversalPolicy. getDefaultComponent(Container aContainer)Returns the default Component to focus. | 
| Component | ContainerOrderFocusTraversalPolicy. getDefaultComponent(Container aContainer)Returns the default Component to focus. | 
| abstract Component | FocusTraversalPolicy. getFirstComponent(Container aContainer)Returns the first Component in the traversal cycle. | 
| Component | ContainerOrderFocusTraversalPolicy. getFirstComponent(Container aContainer)Returns the first Component in the traversal cycle. | 
| Component | Window. getFocusOwner()Returns the child Component of this Window that has focus if this Window
 is focused; returns null otherwise. | 
| 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. | 
| 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 | FocusTraversalPolicy. getInitialComponent(Window window)Returns the Component that should receive the focus when a Window is
 made visible for the first time. | 
| abstract Component | FocusTraversalPolicy. getLastComponent(Container aContainer)Returns the last Component in the traversal cycle. | 
| Component | ContainerOrderFocusTraversalPolicy. getLastComponent(Container aContainer)Returns the last Component in the traversal cycle. | 
| Component | BorderLayout. getLayoutComponent(Container target,
                  Object constraints)Returns the component that corresponds to the given constraint location
 based on the target  Container's component orientation. | 
| Component | BorderLayout. getLayoutComponent(Object constraints)Gets the component that was added using the given constraint | 
| Component | Window. getMostRecentFocusOwner()Returns the child Component of this Window that will receive the focus
 when this Window is focused. | 
| Component | KeyboardFocusManager. getPermanentFocusOwner()Returns the permanent focus owner, if the permanent focus owner is in
 the same context as the calling thread. | 
| Component | Container. locate(int x,
      int y)Deprecated. 
 As of JDK version 1.1,
 replaced by  getComponentAt(int, int). | 
| Component | Component. locate(int x,
      int y)Deprecated. 
 As of JDK version 1.1,
 replaced by getComponentAt(int, int). | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | DefaultFocusTraversalPolicy. accept(Component aComponent)Determines whether a Component is an acceptable choice as the new
 focus owner. | 
| protected boolean | ContainerOrderFocusTraversalPolicy. accept(Component aComponent)Determines whether a Component is an acceptable choice as the new
 focus owner. | 
| Component | Container. add(Component comp)Appends the specified component to the end of 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. | 
| Component | Container. add(String name,
   Component comp)Adds the specified component to this container. | 
| protected void | Container. addImpl(Component comp,
       Object constraints,
       int index)Adds the specified component to this container at the specified
 index. | 
| protected void | ScrollPane. addImpl(Component comp,
       Object constraints,
       int index)Adds the specified component to this scroll pane container. | 
| void | GridBagLayout. addLayoutComponent(Component comp,
                  Object constraints)Adds the specified component to the layout, using the specified
  constraintsobject. | 
| void | BorderLayout. addLayoutComponent(Component comp,
                  Object constraints)Adds the specified component to the layout, using the specified
 constraint object. | 
| void | LayoutManager2. addLayoutComponent(Component comp,
                  Object constraints)Adds the specified component to the layout, using the specified
 constraint object. | 
| void | CardLayout. addLayoutComponent(Component comp,
                  Object constraints)Adds the specified component to this card layout's internal
 table of names. | 
| void | GridLayout. addLayoutComponent(String name,
                  Component comp)Adds the specified component with the specified name to the layout. | 
| void | GridBagLayout. addLayoutComponent(String name,
                  Component comp)Has no effect, since this layout manager does not use a per-component string. | 
| void | FlowLayout. addLayoutComponent(String name,
                  Component comp)Adds the specified component to the layout. | 
| void | LayoutManager. addLayoutComponent(String name,
                  Component comp)If the layout manager uses a per-component string,
 adds the component  compto the layout,
 associating it
 with the string specified byname. | 
| void | BorderLayout. addLayoutComponent(String name,
                  Component comp)Deprecated. 
 replaced by  addLayoutComponent(Component, Object). | 
| void | CardLayout. addLayoutComponent(String name,
                  Component comp)Deprecated. 
 replaced by
       addLayoutComponent(Component, Object). | 
| protected java.awt.peer.LightweightPeer | Toolkit. createComponent(Component target)Creates a peer for a component or container. | 
| <T extends DragGestureRecognizer> | Toolkit. createDragGestureRecognizer(Class<T> 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. | 
| 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
  enqueueKeyEventswith the same timestamp and Component. | 
| 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 void | DefaultKeyboardFocusManager. discardKeyEvents(Component comp)Discards all KeyEvents which were enqueued because of one or more calls
 to  enqueueKeyEventswith the specified Component, or one of
 its descendants. | 
| protected abstract void | KeyboardFocusManager. discardKeyEvents(Component comp)Called by the AWT to notify the KeyboardFocusManager that it should
 cancel delayed dispatching of KeyEvents. | 
| protected void | DefaultKeyboardFocusManager. enqueueKeyEvents(long after,
                Component untilFocused)Delays dispatching of KeyEvents until the specified Component becomes
 the focus owner. | 
| 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. | 
| void | DefaultKeyboardFocusManager. focusNextComponent(Component aComponent)Focuses the Component after aComponent, typically based on a
 FocusTraversalPolicy. | 
| abstract void | KeyboardFocusManager. focusNextComponent(Component aComponent)Focuses the Component after aComponent, typically based on a
 FocusTraversalPolicy. | 
| void | DefaultKeyboardFocusManager. focusPreviousComponent(Component aComponent)Focuses the Component before aComponent, typically based on a
 FocusTraversalPolicy. | 
| abstract void | KeyboardFocusManager. focusPreviousComponent(Component aComponent)Focuses the Component before aComponent, typically based on a
 FocusTraversalPolicy. | 
| abstract Component | FocusTraversalPolicy. getComponentAfter(Container aContainer,
                 Component aComponent)Returns the Component that should receive the focus after aComponent. | 
| Component | ContainerOrderFocusTraversalPolicy. getComponentAfter(Container aContainer,
                 Component aComponent)Returns the Component that should receive the focus after aComponent. | 
| abstract Component | FocusTraversalPolicy. getComponentBefore(Container aContainer,
                  Component aComponent)Returns the Component that should receive the focus before aComponent. | 
| Component | ContainerOrderFocusTraversalPolicy. getComponentBefore(Container aContainer,
                  Component aComponent)Returns the Component that should receive the focus before aComponent. | 
| int | Container. getComponentZOrder(Component comp)Returns the z-order index of the component inside the container. | 
| GridBagConstraints | GridBagLayout. getConstraints(Component comp)Gets the constraints for the specified component. | 
| Object | BorderLayout. getConstraints(Component comp)Gets the constraints for the specified component | 
| 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). | 
| boolean | Container. isAncestorOf(Component c)Checks if the component is contained in the component hierarchy of
 this container. | 
| protected GridBagConstraints | GridBagLayout. lookupConstraints(Component comp)Retrieves the constraints for the specified component. | 
| 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. | 
| 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. | 
| 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. | 
| void | Container. remove(Component comp)Removes the specified component from this container. | 
| void | GridLayout. removeLayoutComponent(Component comp)Removes the specified component from the layout. | 
| void | GridBagLayout. removeLayoutComponent(Component comp)Removes the specified component from this layout. | 
| void | FlowLayout. removeLayoutComponent(Component comp)Removes the specified component from the layout. | 
| void | LayoutManager. removeLayoutComponent(Component comp)Removes the specified component from the layout. | 
| void | BorderLayout. removeLayoutComponent(Component comp)Removes the specified component from this border layout. | 
| void | CardLayout. removeLayoutComponent(Component comp)Removes the specified component from the layout. | 
| void | Container. setComponentZOrder(Component comp,
                  int index)Moves the specified component to the specified z-order index in
 the container. | 
| void | GridBagLayout. setConstraints(Component comp,
              GridBagConstraints constraints)Sets the constraints for the specified component in this layout. | 
| protected void | KeyboardFocusManager. setGlobalFocusOwner(Component focusOwner)Sets the focus owner. | 
| protected void | KeyboardFocusManager. setGlobalPermanentFocusOwner(Component permanentFocusOwner)Sets the permanent focus owner. | 
| void | Window. setLocationRelativeTo(Component c)Sets the location of the window relative to the specified
 component according to the following scenarios. | 
| void | PopupMenu. show(Component origin,
    int x,
    int y)Shows the popup menu at the x, y position relative to an origin
 component. | 
| void | DefaultKeyboardFocusManager. upFocusCycle(Component aComponent)Moves the focus up one focus traversal cycle. | 
| abstract void | KeyboardFocusManager. upFocusCycle(Component aComponent)Moves the focus up one focus traversal cycle. | 
| Constructor and Description | 
|---|
| MediaTracker(Component comp)Creates a media tracker to track images for a given component. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Component | DragGestureRecognizer. componentThe  Componentassociated with thisDragGestureRecognizer. | 
| Modifier and Type | Method and Description | 
|---|---|
| Component | DropTarget. getComponent()Gets the  Componentassociated
 with thisDropTarget. | 
| Component | DropTargetContext. getComponent()This method returns the  Componentassociated with
 thisDropTargetContext. | 
| Component | DragGestureRecognizer. getComponent()This method returns the  Componentthat is to be "observed" by theDragGestureRecognizerfor drag initiating gestures. | 
| Component | DragGestureEvent. getComponent()Returns the  Componentassociated
 with thisDragGestureEvent. | 
| Component | DragSourceContext. getComponent()Returns the  Componentassociated with thisDragSourceContext. | 
| Modifier and Type | Method and Description | 
|---|---|
| DragGestureRecognizer | DragSource. createDefaultDragGestureRecognizer(Component c,
                                  int actions,
                                  DragGestureListener dgl)Creates a new  DragGestureRecognizerthat implements the default
 abstract subclass ofDragGestureRecognizerfor thisDragSource,
 and sets the specifiedComponentandDragGestureListeneron the
 newly created object. | 
| <T extends DragGestureRecognizer> | DragSource. createDragGestureRecognizer(Class<T> recognizerAbstractClass,
                           Component c,
                           int actions,
                           DragGestureListener dgl)Creates a new  DragGestureRecognizerthat implements the specified
 abstract subclass ofDragGestureRecognizer, and
 sets the specifiedComponentandDragGestureListeneron
 the newly created object. | 
| protected DropTarget.DropTargetAutoScroller | DropTarget. createDropTargetAutoScroller(Component c,
                            Point p)create an embedded autoscroller | 
| 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);  | 
| 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. | 
| Constructor and Description | 
|---|
| DragGestureRecognizer(DragSource ds,
                     Component c)Construct a new  DragGestureRecognizergiven theDragSourceto be used
 in this Drag and Drop operation, and
 theComponentthisDragGestureRecognizershould "observe" for drag initiating gestures. | 
| DragGestureRecognizer(DragSource ds,
                     Component c,
                     int sa)Construct a new  DragGestureRecognizergiven theDragSourceto be used in this
 Drag and Drop
 operation, theComponentthisDragGestureRecognizershould "observe"
 for drag initiating gestures, and the action(s)
 supported for this Drag and Drop operation. | 
| DragGestureRecognizer(DragSource ds,
                     Component c,
                     int sa,
                     DragGestureListener dgl)Construct a new  DragGestureRecognizergiven theDragSourceto be used
 in this Drag and Drop operation, theComponentthisDragGestureRecognizershould "observe"
 for drag initiating gestures, the action(s) supported
 for this Drag and Drop operation, and theDragGestureListenerto notify
 once a drag initiating gesture has been detected. | 
| DropTarget(Component c,
          DropTargetListener dtl)Creates a  DropTargetgiven theComponentto associate itself with, and theDropTargetListenerto handle event processing. | 
| DropTarget(Component c,
          int ops,
          DropTargetListener dtl)Creates a  DropTargetgiven theComponentto associate itself with, anintrepresenting
 the default acceptable action(s) to support, and aDropTargetListenerto handle event processing. | 
| DropTarget(Component c,
          int ops,
          DropTargetListener dtl,
          boolean act)Creates a  DropTargetgiven theComponentto associate itself with, anintrepresenting
 the default acceptable action(s)
 to support, aDropTargetListenerto handle event processing, and abooleanindicating
 if theDropTargetis currently accepting drops. | 
| DropTarget(Component c,
          int ops,
          DropTargetListener dtl,
          boolean act,
          FlavorMap fm)Creates a new DropTarget given the  Componentto associate itself with, anintrepresenting
 the default acceptable action(s) to
 support, aDropTargetListenerto handle event processing, abooleanindicating
 if theDropTargetis currently accepting drops, and
 aFlavorMapto use (or null for the defaultFlavorMap). | 
| DropTargetAutoScroller(Component c,
                      Point p)construct a DropTargetAutoScroller | 
| MouseDragGestureRecognizer(DragSource ds,
                          Component c)Construct a new  MouseDragGestureRecognizergiven theDragSourcefor theComponentc, and theComponentto observe. | 
| MouseDragGestureRecognizer(DragSource ds,
                          Component c,
                          int act)Construct a new  MouseDragGestureRecognizergiven theDragSourcefor
 theComponentc,
 theComponentto observe, and the action(s)
 permitted for this drag operation. | 
| MouseDragGestureRecognizer(DragSource ds,
                          Component c,
                          int act,
                          DragGestureListener dgl)Construct a new  MouseDragGestureRecognizergiven theDragSourcefor theComponentc, theComponentto observe, the action(s)
 permitted for this drag operation, and
 theDragGestureListenerto
 notify when a drag gesture is detected. | 
| Modifier and Type | Method and Description | 
|---|---|
| Component | HierarchyEvent. getChanged()Returns the Component at the top of the hierarchy which was
 changed. | 
| Component | ContainerEvent. getChild()Returns the component that was affected by the event. | 
| Component | ComponentEvent. getComponent()Returns the originator of the event. | 
| Component | HierarchyEvent. getComponent()Returns the originator of the event. | 
| Component | FocusEvent. getOppositeComponent()Returns the other Component involved in this focus change. | 
| Constructor and Description | 
|---|
| ComponentEvent(Component source,
              int id)Constructs a  ComponentEventobject. | 
| ContainerEvent(Component source,
              int id,
              Component child)Constructs a  ContainerEventobject. | 
| FocusEvent(Component source,
          int id)Constructs a  FocusEventobject and identifies it
 as a permanent change in focus. | 
| FocusEvent(Component source,
          int id,
          boolean temporary)Constructs a  FocusEventobject and identifies
 whether or not the change is temporary. | 
| FocusEvent(Component source,
          int id,
          boolean temporary,
          Component opposite)Constructs a  FocusEventobject with the
 specified temporary state and oppositeComponent. | 
| HierarchyEvent(Component source,
              int id,
              Component changed,
              Container changedParent)Constructs an  HierarchyEventobject to identify a
 change in theComponenthierarchy. | 
| HierarchyEvent(Component source,
              int id,
              Component changed,
              Container changedParent,
              long changeFlags)Constructs an  HierarchyEventobject to identify
 a change in theComponenthierarchy. | 
| InputMethodEvent(Component source,
                int id,
                AttributedCharacterIterator text,
                int committedCharacterCount,
                TextHitInfo caret,
                TextHitInfo visiblePosition)Constructs an  InputMethodEventwith the specified
 source component, type, text, caret, and visiblePosition. | 
| InputMethodEvent(Component source,
                int id,
                long when,
                AttributedCharacterIterator text,
                int committedCharacterCount,
                TextHitInfo caret,
                TextHitInfo visiblePosition)Constructs an  InputMethodEventwith the specified
 source component, type, time, text, caret, and visiblePosition. | 
| InputMethodEvent(Component source,
                int id,
                TextHitInfo caret,
                TextHitInfo visiblePosition)Constructs an  InputMethodEventwith the
 specified source component, type, caret, and visiblePosition. | 
| KeyEvent(Component source,
        int id,
        long when,
        int modifiers,
        int keyCode)Deprecated. 
 as of JDK1.1 | 
| KeyEvent(Component source,
        int id,
        long when,
        int modifiers,
        int keyCode,
        char keyChar)Constructs a  KeyEventobject. | 
| KeyEvent(Component source,
        int id,
        long when,
        int modifiers,
        int keyCode,
        char keyChar,
        int keyLocation)Constructs a  KeyEventobject. | 
| MouseEvent(Component source,
          int id,
          long when,
          int modifiers,
          int x,
          int y,
          int clickCount,
          boolean popupTrigger)Constructs a  MouseEventobject with the
 specified source component,
 type, modifiers, coordinates, click count, and popupTrigger flag. | 
| MouseEvent(Component source,
          int id,
          long when,
          int modifiers,
          int x,
          int y,
          int clickCount,
          boolean popupTrigger,
          int button)Constructs a  MouseEventobject with the
 specified source component,
 type, time, modifiers, coordinates, click count, popupTrigger flag,
 and button number. | 
| MouseEvent(Component source,
          int id,
          long when,
          int modifiers,
          int x,
          int y,
          int xAbs,
          int yAbs,
          int clickCount,
          boolean popupTrigger,
          int button)Constructs a  MouseEventobject with the
 specified source component,
 type, time, modifiers, coordinates, absolute coordinates, click count, popupTrigger flag,
 and button number. | 
| 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  MouseWheelEventobject with the
 specified source component, type, modifiers, coordinates,
 scroll type, scroll amount, and wheel rotation. | 
| MouseWheelEvent(Component source,
               int id,
               long when,
               int modifiers,
               int x,
               int y,
               int xAbs,
               int yAbs,
               int clickCount,
               boolean popupTrigger,
               int scrollType,
               int scrollAmount,
               int wheelRotation)Constructs a  MouseWheelEventobject with the
 specified source component, type, modifiers, coordinates,
 absolute coordinates, scroll type, scroll amount, and wheel rotation. | 
| MouseWheelEvent(Component source,
               int id,
               long when,
               int modifiers,
               int x,
               int y,
               int xAbs,
               int yAbs,
               int clickCount,
               boolean popupTrigger,
               int scrollType,
               int scrollAmount,
               int wheelRotation,
               double preciseWheelRotation)Constructs a  MouseWheelEventobject with the specified
 source component, type, modifiers, coordinates, absolute coordinates,
 scroll type, scroll amount, and wheel rotation. | 
| PaintEvent(Component source,
          int id,
          Rectangle updateRect)Constructs a  PaintEventobject with the specified
 source component and type. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Component | PropertyEditor. getCustomEditor()A PropertyEditor may choose to make available a full custom Component
 that edits its property value. | 
| Component | PropertyEditorSupport. getCustomEditor()A PropertyEditor may chose to make available a full custom Component
 that edits its property value. | 
| Modifier and Type | Method and Description | 
|---|---|
| Component | BeanContextChildComponentProxy. getComponent()Gets the  java.awt.Componentassociated with
 thisBeanContextChild. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JLayer<V extends Component>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. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractButtonDefines common behaviors for buttons and menu items. | 
| class  | BoxA lightweight container
 that uses a BoxLayout object as its layout manager. | 
| static class  | Box.FillerAn implementation of a lightweight component that participates in
 layout but has no view. | 
| class  | CellRendererPaneThis class is inserted in between cell renderers and the components that
 use them. | 
| class  | DefaultListCellRendererRenders an item in a list. | 
| static class  | DefaultListCellRenderer.UIResourceA subclass of DefaultListCellRenderer that implements UIResource. | 
| class  | JAppletAn extended version of  java.applet.Appletthat adds support for
 the JFC/Swing component architecture. | 
| class  | JButtonAn implementation of a "push" button. | 
| class  | JCheckBoxAn implementation of a check box -- an item that can be selected or
 deselected, and which displays its state to the user. | 
| class  | JCheckBoxMenuItemA menu item that can be selected or deselected. | 
| class  | JColorChooserJColorChooserprovides a pane of controls designed to allow
 a user to manipulate and select a color. | 
| class  | JComboBox<E>A component that combines a button or editable field and a drop-down list. | 
| class  | JComponentThe base class for all Swing components except top-level containers. | 
| class  | JDesktopPaneA container used to create a multiple-document interface or a virtual desktop. | 
| class  | JDialogThe main class for creating a dialog window. | 
| class  | JEditorPaneA text component to edit various kinds of content. | 
| class  | JFileChooserJFileChooserprovides a simple mechanism for the user to
 choose a file. | 
| class  | JFormattedTextFieldJFormattedTextFieldextendsJTextFieldadding
 support for formatting arbitrary values, as well as retrieving a particular
 object once the user has edited the text. | 
| class  | JFrameAn extended version of  java.awt.Framethat adds support for
 the JFC/Swing component architecture. | 
| class  | JInternalFrameA 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.JDesktopIconThis component represents an iconified version of a
  JInternalFrame. | 
| class  | JLabelA display area for a short text string or an image,
 or both. | 
| class  | JLayer<V extends Component>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. | 
| class  | JLayeredPaneJLayeredPaneadds depth to a JFC/Swing container,
 allowing components to overlap each other when needed. | 
| class  | JList<E>A component that displays a list of objects and allows the user to select
 one or more items. | 
| class  | JMenuAn implementation of a menu -- a popup window containing
  JMenuItems that
 is displayed when the user selects an item on theJMenuBar. | 
| class  | JMenuBarAn implementation of a menu bar. | 
| class  | JMenuItemAn implementation of an item in a menu. | 
| class  | JOptionPaneJOptionPanemakes it easy to pop up a standard dialog box that
 prompts users for a value or informs them of something. | 
| class  | JPanelJPanelis a generic lightweight container. | 
| class  | JPasswordFieldJPasswordFieldis 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  | JPopupMenuAn implementation of a popup menu -- a small window that pops up
 and displays a series of choices. | 
| static class  | JPopupMenu.SeparatorA popup menu-specific separator. | 
| class  | JProgressBarA component that visually displays the progress of some task. | 
| class  | JRadioButtonAn implementation of a radio button -- an item that can be selected or
 deselected, and which displays its state to the user. | 
| class  | JRadioButtonMenuItemAn implementation of a radio button menu item. | 
| class  | JRootPaneA lightweight container used behind the scenes by
  JFrame,JDialog,JWindow,JApplet, andJInternalFrame. | 
| class  | JScrollBarAn implementation of a scrollbar. | 
| class  | JScrollPaneProvides a scrollable view of a lightweight component. | 
| protected class  | JScrollPane.ScrollBarBy default  JScrollPanecreates scrollbars
 that are instances
 of this class. | 
| class  | JSeparatorJSeparatorprovides 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  | JSliderA component that lets the user graphically select a value by sliding
 a knob within a bounded interval. | 
| class  | JSpinnerA single line input field that lets the user select a
 number or an object value from an ordered sequence. | 
| static class  | JSpinner.DateEditorAn editor for a  JSpinnerwhose model is aSpinnerDateModel. | 
| static class  | JSpinner.DefaultEditorA simple base class for more specialized editors
 that displays a read-only view of the model's current
 value with a  JFormattedTextField. | 
| static class  | JSpinner.ListEditorAn editor for a  JSpinnerwhose model is aSpinnerListModel. | 
| static class  | JSpinner.NumberEditorAn editor for a  JSpinnerwhose model is aSpinnerNumberModel. | 
| class  | JSplitPaneJSplitPaneis used to divide two (and only two)Components. | 
| class  | JTabbedPaneA component that lets the user switch between a group of components by
 clicking on a tab with a given title and/or icon. | 
| class  | JTableThe  JTableis used to display and edit regular two-dimensional tables
 of cells. | 
| class  | JTextAreaA  JTextAreais a multi-line area that displays plain text. | 
| class  | JTextFieldJTextFieldis a lightweight component that allows the editing
 of a single line of text. | 
| class  | JTextPaneA text component that can be marked up with attributes that are
 represented graphically. | 
| class  | JToggleButtonAn implementation of a two-state button. | 
| class  | JToolBarJToolBarprovides a component that is useful for
 displaying commonly usedActions or controls. | 
| static class  | JToolBar.SeparatorA toolbar-specific separator. | 
| class  | JToolTipUsed to display a "Tip" for a Component. | 
| class  | JTree | 
| class  | JViewportThe "viewport" or "porthole" through which you see the underlying
 information. | 
| class  | JWindowA  JWindowis a container that can be displayed anywhere on the
 user's desktop. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected static Component | ImageIcon. componentDeprecated. 
 since 1.8 | 
| protected Component | JTable. editorCompIf editing, the  Componentthat is handling the editing. | 
| protected Component | JRootPane. glassPaneThe glass pane that overlays the menu bar and content pane,
  so it can intercept mouse movements and such. | 
| protected Component | JLabel. labelFor | 
| protected Component | JSplitPane. leftComponentThe left or top component. | 
| protected Component | JScrollPane. lowerLeftThe component to display in the lower left corner. | 
| protected Component | ScrollPaneLayout. lowerLeftThe component to display in the lower left corner. | 
| protected Component | JScrollPane. lowerRightThe component to display in the lower right corner. | 
| protected Component | ScrollPaneLayout. lowerRightThe component to display in the lower right corner. | 
| protected Component | JSplitPane. rightComponentThe right or bottom component. | 
| protected Component | JScrollPane. upperLeftThe component to display in the upper left corner. | 
| protected Component | ScrollPaneLayout. upperLeftThe component to display in the upper left corner. | 
| protected Component | JScrollPane. upperRightThe component to display in the upper right corner. | 
| protected Component | ScrollPaneLayout. upperRightThe component to display in the upper right corner. | 
| Modifier and Type | Method and Description | 
|---|---|
| Component | JMenu. add(Component c)Appends a component to the end of this menu. | 
| Component | JTabbedPane. add(Component component)Adds a  componentwith a tab title defaulting to
 the name of the component which is the result of callingcomponent.getName. | 
| Component | JMenu. add(Component c,
   int index)Adds the specified component to this container at the given
 position. | 
| Component | JTabbedPane. add(Component component,
   int index)Adds a  componentat the specified tab index with a tab
 title defaulting to the name of the component. | 
| Component | JTabbedPane. add(String title,
   Component component)Adds a  componentwith the specified tab title. | 
| protected Component | ScrollPaneLayout. addSingletonComponent(Component oldC,
                     Component newC)Removes an existing component. | 
| Component | MenuSelectionManager. componentForPoint(Component source,
                 Point sourcePoint)Returns the component in the currently selected path
 which contains sourcePoint. | 
| protected Component | JRootPane. createGlassPane()Called by the constructor methods to create the default
  glassPane. | 
| static Component | Box. createGlue()Creates an invisible "glue" component
 that can be useful in a Box
 whose visible components have a maximum width
 (for a horizontal box)
 or height (for a vertical box). | 
| static Component | Box. createHorizontalGlue()Creates a horizontal glue component. | 
| static Component | Box. createHorizontalStrut(int width)Creates an invisible, fixed-width component. | 
| static Component | Box. createRigidArea(Dimension d)Creates an invisible component that's always the specified size. | 
| static Component | Box. createVerticalGlue()Creates a vertical glue component. | 
| static Component | Box. createVerticalStrut(int height)Creates an invisible, fixed-height component. | 
| static Component | SwingUtilities. findFocusOwner(Component c)Deprecated. 
 As of 1.4, replaced by
    KeyboardFocusManager.getFocusOwner(). | 
| Component | JSplitPane. getBottomComponent()Returns the component below, or to the right of the divider. | 
| Component | MenuElement. getComponent()This method should return the java.awt.Component used to paint the receiving element. | 
| Component | JPopupMenu. getComponent()Returns this  JPopupMenucomponent. | 
| Component | DefaultCellEditor. getComponent()Returns a reference to the editor component. | 
| Component | JMenuBar. getComponent()Implemented to be a  MenuElement. | 
| Component | TransferHandler.TransferSupport. getComponent()Returns the target component of this transfer. | 
| Component | JMenu. getComponent()Returns the  java.awt.Componentused to
 paint thisMenuElement. | 
| Component | Renderer. getComponent()Returns the component used to render the value. | 
| Component | JMenuItem. getComponent()Returns the  java.awt.Componentused to paint
 this object. | 
| Component | LayoutFocusTraversalPolicy. getComponentAfter(Container aContainer,
                 Component aComponent)Returns the Component that should receive the focus after aComponent. | 
| Component | DefaultFocusManager. getComponentAfter(Container aContainer,
                 Component aComponent) | 
| Component | SortingFocusTraversalPolicy. getComponentAfter(Container aContainer,
                 Component aComponent)Returns the Component that should receive the focus after aComponent. | 
| Component | JTabbedPane. getComponentAt(int index)Returns the component at  index. | 
| Component | JPopupMenu. getComponentAtIndex(int i)Deprecated. 
 replaced by  Container.getComponent(int) | 
| Component | JToolBar. getComponentAtIndex(int i)Returns the component at the specified index. | 
| Component | JMenuBar. getComponentAtIndex(int i)Deprecated. 
 replaced by  getComponent(int i) | 
| Component | LayoutFocusTraversalPolicy. getComponentBefore(Container aContainer,
                  Component aComponent)Returns the Component that should receive the focus before aComponent. | 
| Component | DefaultFocusManager. getComponentBefore(Container aContainer,
                  Component aComponent) | 
| Component | SortingFocusTraversalPolicy. getComponentBefore(Container aContainer,
                  Component aComponent)Returns the Component that should receive the focus before aComponent. | 
| Component[] | JLayeredPane. getComponentsInLayer(int layer)Returns an array of the components in the specified layer. | 
| Component | JScrollPane. getCorner(String key)Returns the component at the specified corner. | 
| Component | ScrollPaneLayout. getCorner(String key)Returns the  Componentat the specified corner. | 
| protected Component | JTable.AccessibleJTable.AccessibleJTableCell. getCurrentComponent()Gets the table cell renderer component. | 
| static Component | SwingUtilities. getDeepestComponentAt(Component parent,
                     int x,
                     int y)Returns the deepest visible descendent Component of  parentthat contains the locationx,y. | 
| Component | SortingFocusTraversalPolicy. getDefaultComponent(Container aContainer)Returns the default Component to focus. | 
| Component | JTable. getEditorComponent()Returns the component that is handling the editing session. | 
| Component | ComboBoxEditor. getEditorComponent()Return the component that should be added to the tree hierarchy for
 this editor | 
| Component | LayoutFocusTraversalPolicy. getFirstComponent(Container aContainer)Returns the first Component in the traversal cycle. | 
| Component | DefaultFocusManager. getFirstComponent(Container aContainer) | 
| Component | SortingFocusTraversalPolicy. getFirstComponent(Container aContainer)Returns the first Component in the traversal cycle. | 
| Component | JInternalFrame. getFocusOwner()If this  JInternalFrameis active,
 returns the child that has focus. | 
| Component | JDialog. getGlassPane()Returns the  glassPaneobject for this dialog. | 
| Component | JFrame. getGlassPane()Returns the  glassPaneobject for this frame. | 
| Component | RootPaneContainer. getGlassPane()Returns the glassPane. | 
| Component | JWindow. getGlassPane()Returns the  glassPane Componentfor this window. | 
| Component | JApplet. getGlassPane()Returns the glassPane object for this applet. | 
| Component | JRootPane. getGlassPane()Returns the current glass pane for this  JRootPane. | 
| Component | JInternalFrame. getGlassPane()Returns the glass pane for this internal frame. | 
| Component | InternalFrameFocusTraversalPolicy. getInitialComponent(JInternalFrame frame)Returns the Component that should receive the focus when a
 JInternalFrame is selected for the first time. | 
| Component | JPopupMenu. getInvoker()Returns the component which is the 'invoker' of this
 popup menu. | 
| Component | JLabel. getLabelFor()Get the component this is labelling. | 
| Component | LayoutFocusTraversalPolicy. getLastComponent(Container aContainer)Returns the last Component in the traversal cycle. | 
| Component | DefaultFocusManager. getLastComponent(Container aContainer) | 
| Component | SortingFocusTraversalPolicy. getLastComponent(Container aContainer)Returns the last Component in the traversal cycle. | 
| Component | JSplitPane. getLeftComponent()Returns the component to the left (or above) the divider. | 
| Component | DefaultListCellRenderer. getListCellRendererComponent(JList<?> list,
                            Object value,
                            int index,
                            boolean isSelected,
                            boolean cellHasFocus) | 
| Component | ListCellRenderer. getListCellRendererComponent(JList<? extends E> list,
                            E value,
                            int index,
                            boolean isSelected,
                            boolean cellHasFocus)Return a component that has been configured to display the specified
 value. | 
| Component | JMenu. getMenuComponent(int n)Returns the component at position  n. | 
| Component[] | JMenu. getMenuComponents()Returns an array of  Components of the menu's
 subcomponents. | 
| Component | JInternalFrame. getMostRecentFocusOwner()Returns the child component of this  JInternalFramethat will receive the
 focus when thisJInternalFrameis selected. | 
| Component | JComponent. getNextFocusableComponent()Deprecated. 
 As of 1.4, replaced by  FocusTraversalPolicy. | 
| Component | JSplitPane. getRightComponent()Returns the component to the right (or below) the divider. | 
| static Component | SwingUtilities. getRoot(Component c)Returns the root component for the current component tree. | 
| Component | JTabbedPane. getSelectedComponent()Returns the currently selected component for this tabbedpane. | 
| Component | JTabbedPane. getTabComponentAt(int index)Returns the tab component at  index. | 
| Component | DefaultCellEditor. getTableCellEditorComponent(JTable table,
                           Object value,
                           boolean isSelected,
                           int row,
                           int column)Implements the  TableCellEditorinterface. | 
| Component | JSplitPane. getTopComponent()Returns the component above, or to the left of the divider. | 
| Component | DefaultCellEditor. getTreeCellEditorComponent(JTree tree,
                          Object value,
                          boolean isSelected,
                          boolean expanded,
                          boolean leaf,
                          int row)Implements the  TreeCellEditorinterface. | 
| static Component | SwingUtilities. getUnwrappedView(JViewport viewport)Returns the first  JViewport's descendant
 which is not an instance ofJLayer. | 
| Component | JViewport. getView()Returns the  JViewport's one child ornull. | 
| Component | JTable. prepareEditor(TableCellEditor editor,
             int row,
             int column)Prepares the editor by querying the data model for the value and
 selection state of the cell at  row,column. | 
| Component | JTable. prepareRenderer(TableCellRenderer renderer,
               int row,
               int column)Prepares the renderer by querying the data model for the
 value and selection state
 of the cell at  row,column. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Comparator<? super Component> | SortingFocusTraversalPolicy. getComparator()Returns the Comparator which will be used to sort the Components in a
 focus traversal cycle. | 
| protected Hashtable<Component,Integer> | JLayeredPane. getComponentToLayer()Returns the hashtable that maps components to layers. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | LayoutFocusTraversalPolicy. accept(Component aComponent)Determines whether the specified  Componentis an acceptable choice as the new focus owner. | 
| protected boolean | SortingFocusTraversalPolicy. accept(Component aComponent)Determines whether a Component is an acceptable choice as the new
 focus owner. | 
| Component | JMenu. add(Component c)Appends a component to the end of this menu. | 
| Component | JTabbedPane. add(Component component)Adds a  componentwith a tab title defaulting to
 the name of the component which is the result of callingcomponent.getName. | 
| Component | JMenu. add(Component c,
   int index)Adds the specified component to this container at the given
 position. | 
| Component | JTabbedPane. add(Component component,
   int index)Adds a  componentat the specified tab index with a tab
 title defaulting to the name of the component. | 
| void | JTabbedPane. add(Component component,
   Object constraints)Adds a  componentto the tabbed pane. | 
| void | JTabbedPane. add(Component component,
   Object constraints,
   int index)Adds a  componentat the specified tab index. | 
| Component | JTabbedPane. add(String title,
   Component component)Adds a  componentwith the specified tab title. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addComponent(boolean useAsBaseline,
            Component component)Adds a  Componentto thisGroup. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addComponent(boolean useAsBaseline,
            Component component,
            int min,
            int pref,
            int max)Adds a  Componentto thisGroupwith the specified size. | 
| GroupLayout.Group | GroupLayout.Group. addComponent(Component component)Adds a  Componentto thisGroup. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addComponent(Component component)Adds a  Componentto thisGroup. | 
| GroupLayout.ParallelGroup | GroupLayout.ParallelGroup. addComponent(Component component)Adds a  Componentto thisGroup. | 
| GroupLayout.ParallelGroup | GroupLayout.ParallelGroup. addComponent(Component component,
            GroupLayout.Alignment alignment)Adds a  Componentto thisParallelGroupwith
 the specified alignment. | 
| GroupLayout.ParallelGroup | GroupLayout.ParallelGroup. addComponent(Component component,
            GroupLayout.Alignment alignment,
            int min,
            int pref,
            int max)Adds a  Componentto thisParallelGroupwith the
 specified alignment and size. | 
| GroupLayout.Group | GroupLayout.Group. addComponent(Component component,
            int min,
            int pref,
            int max)Adds a  Componentto thisGroupwith the specified size. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addComponent(Component component,
            int min,
            int pref,
            int max)Adds a  Componentto thisGroupwith the specified size. | 
| GroupLayout.ParallelGroup | GroupLayout.ParallelGroup. addComponent(Component component,
            int min,
            int pref,
            int max)Adds a  Componentto thisGroupwith the specified size. | 
| protected void | JDialog. addImpl(Component comp,
       Object constraints,
       int index)Adds the specified child  Component. | 
| protected void | JSplitPane. addImpl(Component comp,
       Object constraints,
       int index)Adds the specified component to this split pane. | 
| protected void | JViewport. addImpl(Component child,
       Object constraints,
       int index)Sets the  JViewport's one lightweight child,
 which can benull. | 
| protected void | JFrame. addImpl(Component comp,
       Object constraints,
       int index)Adds the specified child  Component. | 
| protected void | JDesktopPane. addImpl(Component comp,
       Object constraints,
       int index)Adds the specified component to this container at the specified
 index. | 
| protected void | JWindow. addImpl(Component comp,
       Object constraints,
       int index)Adds the specified child  Component. | 
| protected void | JToolBar. addImpl(Component comp,
       Object constraints,
       int index)If a  JButtonis being added, it is initially
 set to be disabled. | 
| protected void | JLayer. addImpl(Component comp,
       Object constraints,
       int index)This method is not supported by  JLayerand always throwsUnsupportedOperationException | 
| protected void | JApplet. addImpl(Component comp,
       Object constraints,
       int index)Adds the specified child  Component. | 
| protected void | JLayeredPane. addImpl(Component comp,
       Object constraints,
       int index) | 
| protected void | JRootPane. addImpl(Component comp,
       Object constraints,
       int index)Overridden to enforce the position of the glass component as
 the zero child. | 
| protected void | JInternalFrame. addImpl(Component comp,
       Object constraints,
       int index)Adds the specified child  Component. | 
| protected void | CellRendererPane. addImpl(Component x,
       Object constraints,
       int index)If the specified component is already a child of this then we don't
 bother doing anything - stacking order doesn't matter for cell
 renderer components (CellRendererPane doesn't paint anyway). | 
| protected void | AbstractButton. addImpl(Component comp,
       Object constraints,
       int index)Adds the specified component to this container at the specified
 index, refer to
  Container.addImpl(Component, Object, int)for a complete description of this method. | 
| void | BoxLayout. addLayoutComponent(Component comp,
                  Object constraints)Not used by this class. | 
| void | SpringLayout. addLayoutComponent(Component component,
                  Object constraints)If  constraintsis an instance ofSpringLayout.Constraints,
 associates the constraints with the specified component. | 
| void | OverlayLayout. addLayoutComponent(Component comp,
                  Object constraints)Adds the specified component to the layout, using the specified
 constraint object. | 
| void | JRootPane.RootLayout. addLayoutComponent(Component comp,
                  Object constraints) | 
| void | GroupLayout. addLayoutComponent(Component component,
                  Object constraints)Notification that a  Componenthas been added to
 the parent container. | 
| void | ViewportLayout. addLayoutComponent(String name,
                  Component c)Adds the specified component to the layout. | 
| void | JSpinner.DefaultEditor. addLayoutComponent(String name,
                  Component child)This  LayoutManagermethod does nothing. | 
| void | BoxLayout. addLayoutComponent(String name,
                  Component comp)Not used by this class. | 
| void | SpringLayout. addLayoutComponent(String name,
                  Component c)Has no effect,
 since this layout manager does not
 use a per-component string. | 
| void | OverlayLayout. addLayoutComponent(String name,
                  Component comp)Adds the specified component to the layout. | 
| void | JRootPane.RootLayout. addLayoutComponent(String name,
                  Component comp) | 
| void | ScrollPaneLayout. addLayoutComponent(String s,
                  Component c)Adds the specified component to the layout. | 
| void | GroupLayout. addLayoutComponent(String name,
                  Component component)Notification that a  Componenthas been added to
 the parent container. | 
| protected Component | ScrollPaneLayout. addSingletonComponent(Component oldC,
                     Component newC)Removes an existing component. | 
| void | JTabbedPane. addTab(String title,
      Component component)Adds a  componentrepresented by atitleand no icon. | 
| void | JTabbedPane. addTab(String title,
      Icon icon,
      Component component)Adds a  componentrepresented by atitleand/oricon, either of which can benull. | 
| void | JTabbedPane. addTab(String title,
      Icon icon,
      Component component,
      String tip)Adds a  componentandtiprepresented by atitleand/oricon,
 either of which can benull. | 
| boolean | DefaultFocusManager. compareTabOrder(Component a,
               Component b) | 
| Component | MenuSelectionManager. componentForPoint(Component source,
                 Point sourcePoint)Returns the component in the currently selected path
 which contains sourcePoint. | 
| static MouseEvent | SwingUtilities. convertMouseEvent(Component source,
                 MouseEvent sourceEvent,
                 Component destination)Returns a MouseEvent similar to  sourceEventexcept that its x
 and y members have been converted todestination's coordinate
 system. | 
| static Point | SwingUtilities. convertPoint(Component source,
            int x,
            int y,
            Component destination)Convert the point  (x,y)insourcecoordinate system todestinationcoordinate system. | 
| static Point | SwingUtilities. convertPoint(Component source,
            Point aPoint,
            Component destination)Convert a  aPointinsourcecoordinate system todestinationcoordinate system. | 
| static void | SwingUtilities. convertPointFromScreen(Point p,
                      Component c)Convert a point from a screen coordinates to a component's
 coordinate system | 
| static void | SwingUtilities. convertPointToScreen(Point p,
                    Component c)Convert a point from a component's coordinate system to
 screen coordinates. | 
| static Rectangle | SwingUtilities. convertRectangle(Component source,
                Rectangle aRectangle,
                Component destination)Convert the rectangle  aRectangleinsourcecoordinate system todestinationcoordinate system. | 
| protected JDialog | JFileChooser. createDialog(Component parent)Creates and returns a new  JDialogwrappingthiscentered on theparentin theparent's frame. | 
| JDialog | JOptionPane. createDialog(Component parentComponent,
            String title)Creates and returns a new  JDialogwrappingthiscentered on theparentComponentin theparentComponent's frame. | 
| static JDialog | JColorChooser. createDialog(Component c,
            String title,
            boolean modal,
            JColorChooser chooserPane,
            ActionListener okListener,
            ActionListener cancelListener)Creates and returns a new dialog containing the specified
  ColorChooserpane along with "OK", "Cancel", and "Reset"
 buttons. | 
| JInternalFrame | JOptionPane. createInternalFrame(Component parentComponent,
                   String title)Creates and returns an instance of  JInternalFrame. | 
| static RepaintManager | RepaintManager. currentManager(Component c)Return the RepaintManager for the calling thread given a Component. | 
| static Component | SwingUtilities. findFocusOwner(Component c)Deprecated. 
 As of 1.4, replaced by
    KeyboardFocusManager.getFocusOwner(). | 
| static Accessible | SwingUtilities. getAccessibleAt(Component c,
               Point p)Returns the  Accessiblechild contained at the
 local coordinatePoint, if one exists. | 
| static Accessible | SwingUtilities. getAccessibleChild(Component c,
                  int i)Return the nth Accessible child of the object. | 
| static int | SwingUtilities. getAccessibleChildrenCount(Component c)Returns the number of accessible children in the object. | 
| static int | SwingUtilities. getAccessibleIndexInParent(Component c)Get the index of this object in its accessible parent. | 
| static AccessibleStateSet | SwingUtilities. getAccessibleStateSet(Component c)Get the state of this object. | 
| static Container | SwingUtilities. getAncestorNamed(String name,
                Component comp)Convenience method for searching above  compin the
 component hierarchy and returns the first object ofnameit
 finds. | 
| static Container | SwingUtilities. getAncestorOfClass(Class<?> c,
                  Component comp)Convenience method for searching above  compin the
 component hierarchy and returns the first object of classcit
 finds. | 
| Component | LayoutFocusTraversalPolicy. getComponentAfter(Container aContainer,
                 Component aComponent)Returns the Component that should receive the focus after aComponent. | 
| Component | DefaultFocusManager. getComponentAfter(Container aContainer,
                 Component aComponent) | 
| Component | SortingFocusTraversalPolicy. getComponentAfter(Container aContainer,
                 Component aComponent)Returns the Component that should receive the focus after aComponent. | 
| Component | LayoutFocusTraversalPolicy. getComponentBefore(Container aContainer,
                  Component aComponent)Returns the Component that should receive the focus before aComponent. | 
| Component | DefaultFocusManager. getComponentBefore(Container aContainer,
                  Component aComponent) | 
| Component | SortingFocusTraversalPolicy. getComponentBefore(Container aContainer,
                  Component aComponent)Returns the Component that should receive the focus before aComponent. | 
| int | JPopupMenu. getComponentIndex(Component c)Returns the index of the specified component. | 
| int | JToolBar. getComponentIndex(Component c)Returns the index of the specified component. | 
| int | JMenuBar. getComponentIndex(Component c)Returns the index of the specified component. | 
| Spring | SpringLayout. getConstraint(String edgeName,
             Component c)Returns the spring controlling the distance between
 the specified edge of
 the component and the top or left edge of its parent. | 
| SpringLayout.Constraints | SpringLayout. getConstraints(Component c)Returns the constraints for the specified component. | 
| static Component | SwingUtilities. getDeepestComponentAt(Component parent,
                     int x,
                     int y)Returns the deepest visible descendent Component of  parentthat contains the locationx,y. | 
| static JDesktopPane | JOptionPane. getDesktopPaneForComponent(Component parentComponent)Returns the specified component's desktop pane. | 
| static Frame | JOptionPane. getFrameForComponent(Component parentComponent)Returns the specified component's  Frame. | 
| int | JLayeredPane. getIndexOf(Component c)Returns the index of the specified Component. | 
| int | JLayeredPane. getLayer(Component c)Returns the layer attribute for the specified Component. | 
| static JLayeredPane | JLayeredPane. getLayeredPaneAbove(Component c)Convenience method that returns the first JLayeredPane which
 contains the specified component. | 
| static Rectangle | SwingUtilities. getLocalBounds(Component aComponent)Return the rectangle (0,0,bounds.width,bounds.height) for the component  aComponent | 
| Image | RepaintManager. getOffscreenBuffer(Component c,
                  int proposedWidth,
                  int proposedHeight)Return the offscreen buffer that should be used as a double buffer with
 the component  c. | 
| Popup | PopupFactory. getPopup(Component owner,
        Component contents,
        int x,
        int y)Creates a  Popupfor the Componentownercontaining the Componentcontents. | 
| int | JLayeredPane. getPosition(Component c)Get the relative position of the component within its layer. | 
| static Component | SwingUtilities. getRoot(Component c)Returns the root component for the current component tree. | 
| static JRootPane | SwingUtilities. getRootPane(Component c)If c is a JRootPane descendant return its JRootPane ancestor. | 
| static Container | SwingUtilities. getUnwrappedParent(Component component)Returns the first ancestor of the  componentwhich is not an instance ofJLayer. | 
| Image | RepaintManager. getVolatileOffscreenBuffer(Component c,
                          int proposedWidth,
                          int proposedHeight)Return a volatile offscreen buffer that should be used as a
 double buffer with the specified component  c. | 
| static Window | SwingUtilities. getWindowAncestor(Component c)Returns the first  Window ancestor ofc, ornullifcis not contained inside aWindow. | 
| static Spring | Spring. height(Component c)Returns a spring whose minimum, preferred, maximum
 and value properties are defined by the heights of the minimumSize,
 preferredSize, maximumSize and size properties
 of the supplied component. | 
| int | JTabbedPane. indexOfComponent(Component component)Returns the index of the tab for the specified component. | 
| int | JTabbedPane. indexOfTabComponent(Component tabComponent)Returns the index of the tab for the specified tab component. | 
| void | JPopupMenu. insert(Component component,
      int index)Inserts the specified component into the menu at a given
 position. | 
| void | JTextPane. insertComponent(Component c)Inserts a component into the document as a replacement
 for the currently selected content. | 
| void | JTabbedPane. insertTab(String title,
         Icon icon,
         Component component,
         String tip,
         int index)Inserts a new tab for the given component, at the given index,
 represented by the given title and/or icon, either of which may
 be  null. | 
| boolean | MenuSelectionManager. isComponentPartOfCurrentMenu(Component c)Return true if c is part of the currently used menu | 
| static boolean | SwingUtilities. isDescendingFrom(Component a,
                Component b)Return  trueif a componentadescends from a componentb | 
| static boolean | JComponent. isLightweightComponent(Component c)Returns true if this component is lightweight, that is, if it doesn't
 have a native window system peer. | 
| boolean | JMenu. isMenuComponent(Component c)Returns true if the specified component exists in the
 submenu hierarchy. | 
| void | GroupLayout. linkSize(Component... components)Forces the specified components to have the same size
 regardless of their preferred, minimum or maximum sizes. | 
| void | GroupLayout. linkSize(int axis,
        Component... components)Forces the specified components to have the same size along the
 specified axis regardless of their preferred, minimum or
 maximum sizes. | 
| void | JLayeredPane. moveToBack(Component c)Moves the component to the bottom of the components in its current layer
 (position -1). | 
| void | JLayeredPane. moveToFront(Component c)Moves the component to the top of the components in its current layer
 (position 0). | 
| void | CellRendererPane. paintComponent(Graphics g,
              Component c,
              Container p,
              int x,
              int y,
              int w,
              int h)Calls this.paintComponent(g, c, p, x, y, w, h, false). | 
| static void | SwingUtilities. paintComponent(Graphics g,
              Component c,
              Container p,
              int x,
              int y,
              int w,
              int h)Paints a component to the specified  Graphics. | 
| void | CellRendererPane. paintComponent(Graphics g,
              Component c,
              Container p,
              int x,
              int y,
              int w,
              int h,
              boolean shouldValidate)Paint a cell renderer component c on graphics object g. | 
| void | CellRendererPane. paintComponent(Graphics g,
              Component c,
              Container p,
              Rectangle r)Calls this.paintComponent() with the rectangles x,y,width,height fields. | 
| static void | SwingUtilities. paintComponent(Graphics g,
              Component c,
              Container p,
              Rectangle r)Paints a component to the specified  Graphics. | 
| void | ImageIcon. paintIcon(Component c,
         Graphics g,
         int x,
         int y)Paints the icon. | 
| void | Icon. paintIcon(Component c,
         Graphics g,
         int x,
         int y)Draw the icon at the specified location. | 
| void | LookAndFeel. provideErrorFeedback(Component component)Invoked when the user attempts an invalid operation,
 such as pasting into an uneditable  JTextFieldthat has focus. | 
| void | SpringLayout. putConstraint(String e1,
             Component c1,
             int pad,
             String e2,
             Component c2)Links edge  e1of componentc1to
 edgee2of componentc2,
 with a fixed distance between the edges. | 
| void | SpringLayout. putConstraint(String e1,
             Component c1,
             Spring s,
             String e2,
             Component c2)Links edge  e1of componentc1to
 edgee2of componentc2. | 
| void | JDialog. remove(Component comp)Removes the specified component from the container. | 
| void | JSplitPane. remove(Component component)Removes the child component,  componentfrom the
 pane. | 
| void | JViewport. remove(Component child)Removes the  Viewports one lightweight child. | 
| void | JFrame. remove(Component comp)Removes the specified component from the container. | 
| void | JDesktopPane. remove(Component comp)Removes the specified component from this container. | 
| void | JWindow. remove(Component comp)Removes the specified component from the container. | 
| void | JLayer. remove(Component comp)Removes the specified component from this container. | 
| void | JMenu. remove(Component c)Removes the component  cfrom this menu. | 
| void | JApplet. remove(Component comp)Removes the specified component from the container. | 
| void | JInternalFrame. remove(Component comp)Removes the specified component from the container. | 
| void | JTabbedPane. remove(Component component)Removes the specified  Componentfrom theJTabbedPane. | 
| void | ViewportLayout. removeLayoutComponent(Component c)Removes the specified component from the layout. | 
| void | JSpinner.DefaultEditor. removeLayoutComponent(Component child)This  LayoutManagermethod does nothing. | 
| void | BoxLayout. removeLayoutComponent(Component comp)Not used by this class. | 
| void | SpringLayout. removeLayoutComponent(Component c)Removes the constraints associated with the specified component. | 
| void | OverlayLayout. removeLayoutComponent(Component comp)Removes the specified component from the layout. | 
| void | JRootPane.RootLayout. removeLayoutComponent(Component comp) | 
| void | ScrollPaneLayout. removeLayoutComponent(Component c)Removes the specified component from the layout. | 
| void | GroupLayout. removeLayoutComponent(Component component)Notification that a  Componenthas been removed from
 the parent container. | 
| void | GroupLayout. replace(Component existingComponent,
       Component newComponent)Replaces an existing component with a new one. | 
| void | JSplitPane. setBottomComponent(Component comp)Sets the component below, or to the right of the divider. | 
| void | JScrollPane. setColumnHeaderView(Component view)Creates a column-header viewport if necessary, sets
 its view, and then adds the column-header viewport
 to the scrollpane. | 
| void | JTabbedPane. setComponentAt(int index,
              Component component)Sets the component at  indextocomponent. | 
| void | JDesktopPane. setComponentZOrder(Component comp,
                  int index)Moves the specified component to the specified z-order index in
 the container. | 
| void | JScrollPane. setCorner(String key,
         Component corner)Adds a child that will appear in one of the scroll panes
 corners, if there's room. | 
| void | JDialog. setGlassPane(Component glassPane)Sets the  glassPaneproperty. | 
| void | JFrame. setGlassPane(Component glassPane)Sets the  glassPaneproperty. | 
| void | RootPaneContainer. setGlassPane(Component glassPane)The glassPane is always the first child of the rootPane
 and the rootPanes layout manager ensures that it's always
 as big as the rootPane. | 
| void | JWindow. setGlassPane(Component glassPane)Sets the  glassPaneproperty. | 
| void | JApplet. setGlassPane(Component glassPane)Sets the glassPane property. | 
| void | JRootPane. setGlassPane(Component glass)Sets a specified  Componentto be the glass pane for this
 root pane. | 
| void | JInternalFrame. setGlassPane(Component glass)Sets this  JInternalFrame'sglassPaneproperty. | 
| void | GroupLayout. setHonorsVisibility(Component component,
                   Boolean honorsVisibility)Sets whether the component's visibility is considered for
 sizing and positioning. | 
| void | JPopupMenu. setInvoker(Component invoker)Sets the invoker of this popup menu -- the component in which
 the popup menu menu is to be displayed. | 
| void | JLabel. setLabelFor(Component c)Set the component this is labelling. | 
| void | JLayeredPane. setLayer(Component c,
        int layer)Sets the layer attribute on the specified component,
 making it the bottommost component in that layer. | 
| void | JLayeredPane. setLayer(Component c,
        int layer,
        int position)Sets the layer attribute for the specified component and
 also sets its position within that layer. | 
| void | JSplitPane. setLeftComponent(Component comp)Sets the component to the left (or above) the divider. | 
| void | JComponent. setNextFocusableComponent(Component aComponent)Deprecated. 
 As of 1.4, replaced by  FocusTraversalPolicy | 
| void | JLayeredPane. setPosition(Component c,
           int position)Moves the component to  positionwithin its current layer,
 where 0 is the topmost position within the layer and -1 is the bottommost
 position. | 
| void | JSplitPane. setRightComponent(Component comp)Sets the component to the right (or below) the divider. | 
| void | JScrollPane. setRowHeaderView(Component view)Creates a row-header viewport if necessary, sets
 its view and then adds the row-header viewport
 to the scrollpane. | 
| void | JPopupMenu. setSelected(Component sel)Sets the currently selected component,  This will result
 in a change to the selection model. | 
| void | JMenuBar. setSelected(Component sel)Sets the currently selected component, producing a
 a change to the selection model. | 
| void | JTabbedPane. setSelectedComponent(Component c)Sets the selected component for this tabbedpane. | 
| void | JTabbedPane. setTabComponentAt(int index,
                 Component component)Sets the component that is responsible for rendering the
 title for the specified tab. | 
| void | JSplitPane. setTopComponent(Component comp)Sets the component above, or to the left of the divider. | 
| void | JViewport. setView(Component view)Sets the  JViewport's one lightweight child
 (view), which can benull. | 
| void | JScrollPane. setViewportView(Component view)Creates a viewport if necessary and then sets its view. | 
| void | JPopupMenu. show(Component invoker,
    int x,
    int y)Displays the popup menu at the position x,y in the coordinate
 space of the component invoker. | 
| static int | JOptionPane. showConfirmDialog(Component parentComponent,
                 Object message)Brings up a dialog with the options Yes,
 No and Cancel; with the
 title, Select an Option. | 
| static int | JOptionPane. showConfirmDialog(Component parentComponent,
                 Object message,
                 String title,
                 int optionType)Brings up a dialog where the number of choices is determined
 by the  optionTypeparameter. | 
| static int | JOptionPane. showConfirmDialog(Component parentComponent,
                 Object message,
                 String title,
                 int optionType,
                 int messageType)Brings up a dialog where the number of choices is determined
 by the  optionTypeparameter, where themessageTypeparameter determines the icon to display. | 
| static int | JOptionPane. showConfirmDialog(Component parentComponent,
                 Object message,
                 String title,
                 int optionType,
                 int messageType,
                 Icon icon)Brings up a dialog with a specified icon, where the number of
 choices is determined by the  optionTypeparameter. | 
| int | JFileChooser. showDialog(Component parent,
          String approveButtonText)Pops a custom file chooser dialog with a custom approve button. | 
| static Color | JColorChooser. showDialog(Component component,
          String title,
          Color initialColor)Shows a modal color-chooser dialog and blocks until the
 dialog is hidden. | 
| static String | JOptionPane. showInputDialog(Component parentComponent,
               Object message)Shows a question-message dialog requesting input from the user
 parented to  parentComponent. | 
| static String | JOptionPane. showInputDialog(Component parentComponent,
               Object message,
               Object initialSelectionValue)Shows a question-message dialog requesting input from the user and
 parented to  parentComponent. | 
| static String | JOptionPane. showInputDialog(Component parentComponent,
               Object message,
               String title,
               int messageType)Shows a dialog requesting input from the user parented to
  parentComponentwith the dialog having the titletitleand message typemessageType. | 
| static Object | JOptionPane. showInputDialog(Component parentComponent,
               Object message,
               String title,
               int messageType,
               Icon icon,
               Object[] selectionValues,
               Object initialSelectionValue)Prompts the user for input in a blocking dialog where the
 initial selection, possible selections, and all other options can
 be specified. | 
| static int | JOptionPane. showInternalConfirmDialog(Component parentComponent,
                         Object message)Brings up an internal dialog panel with the options Yes, No
 and Cancel; with the title, Select an Option. | 
| static int | JOptionPane. showInternalConfirmDialog(Component parentComponent,
                         Object message,
                         String title,
                         int optionType)Brings up a internal dialog panel where the number of choices
 is determined by the  optionTypeparameter. | 
| static int | JOptionPane. showInternalConfirmDialog(Component parentComponent,
                         Object message,
                         String title,
                         int optionType,
                         int messageType)Brings up an internal dialog panel where the number of choices
 is determined by the  optionTypeparameter, where
 themessageTypeparameter determines the icon to display. | 
| static int | JOptionPane. showInternalConfirmDialog(Component parentComponent,
                         Object message,
                         String title,
                         int optionType,
                         int messageType,
                         Icon icon)Brings up an internal dialog panel with a specified icon, where
 the number of choices is determined by the  optionTypeparameter. | 
| static String | JOptionPane. showInternalInputDialog(Component parentComponent,
                       Object message)Shows an internal question-message dialog requesting input from
 the user parented to  parentComponent. | 
| static String | JOptionPane. showInternalInputDialog(Component parentComponent,
                       Object message,
                       String title,
                       int messageType)Shows an internal dialog requesting input from the user parented
 to  parentComponentwith the dialog having the titletitleand message typemessageType. | 
| static Object | JOptionPane. showInternalInputDialog(Component parentComponent,
                       Object message,
                       String title,
                       int messageType,
                       Icon icon,
                       Object[] selectionValues,
                       Object initialSelectionValue)Prompts the user for input in a blocking internal dialog where
 the initial selection, possible selections, and all other
 options can be specified. | 
| static void | JOptionPane. showInternalMessageDialog(Component parentComponent,
                         Object message)Brings up an internal confirmation dialog panel. | 
| static void | JOptionPane. showInternalMessageDialog(Component parentComponent,
                         Object message,
                         String title,
                         int messageType)Brings up an internal dialog panel that displays a message
 using a default icon determined by the  messageTypeparameter. | 
| static void | JOptionPane. showInternalMessageDialog(Component parentComponent,
                         Object message,
                         String title,
                         int messageType,
                         Icon icon)Brings up an internal dialog panel displaying a message,
 specifying all parameters. | 
| static int | JOptionPane. showInternalOptionDialog(Component parentComponent,
                        Object message,
                        String title,
                        int optionType,
                        int messageType,
                        Icon icon,
                        Object[] options,
                        Object initialValue)Brings up an internal dialog panel with a specified icon, where
 the initial choice is determined by the  initialValueparameter and the number of choices is determined by theoptionTypeparameter. | 
| static void | JOptionPane. showMessageDialog(Component parentComponent,
                 Object message)Brings up an information-message dialog titled "Message". | 
| static void | JOptionPane. showMessageDialog(Component parentComponent,
                 Object message,
                 String title,
                 int messageType)Brings up a dialog that displays a message using a default
 icon determined by the  messageTypeparameter. | 
| static void | JOptionPane. showMessageDialog(Component parentComponent,
                 Object message,
                 String title,
                 int messageType,
                 Icon icon)Brings up a dialog displaying a message, specifying all parameters. | 
| int | JFileChooser. showOpenDialog(Component parent)Pops up an "Open File" file chooser dialog. | 
| static int | JOptionPane. showOptionDialog(Component parentComponent,
                Object message,
                String title,
                int optionType,
                int messageType,
                Icon icon,
                Object[] options,
                Object initialValue)Brings up a dialog with a specified icon, where the initial
 choice is determined by the  initialValueparameter and
 the number of choices is determined by theoptionTypeparameter. | 
| int | JFileChooser. showSaveDialog(Component parent)Pops up a "Save File" file chooser dialog. | 
| static void | SwingUtilities. updateComponentTreeUI(Component c)A simple minded look and feel change: ask each node in the tree
 to  updateUI()-- that is, to initialize its UI property
 with the current look and feel. | 
| static Spring | Spring. width(Component c)Returns a spring whose minimum, preferred, maximum
 and value properties are defined by the widths of the minimumSize,
 preferredSize, maximumSize and size properties
 of the supplied component. | 
| static Window | SwingUtilities. windowForComponent(Component c)Returns the first  Window ancestor ofc, ornullifcis not contained inside aWindow. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | SortingFocusTraversalPolicy. setComparator(Comparator<? super Component> comparator)Sets the Comparator which will be used to sort the Components in a
 focus traversal cycle. | 
| Constructor and Description | 
|---|
| Constraints(Component c)Creates a  Constraintsobject with
 suitablex,y,widthandheightsprings for component,c. | 
| JScrollPane(Component view)Creates a  JScrollPanethat displays the
 contents of the specified
 component, where both horizontal and vertical scrollbars appear
 whenever the component's contents are larger than the view. | 
| JScrollPane(Component view,
           int vsbPolicy,
           int hsbPolicy)Creates a  JScrollPanethat displays the view
 component in a viewport
 whose view position can be controlled with a pair of scrollbars. | 
| JSplitPane(int newOrientation,
          boolean newContinuousLayout,
          Component newLeftComponent,
          Component newRightComponent)Creates a new  JSplitPanewith the specified
 orientation and
 redrawing style, and with the specified components. | 
| JSplitPane(int newOrientation,
          Component newLeftComponent,
          Component newRightComponent)Creates a new  JSplitPanewith the specified
 orientation and the specified components. | 
| Popup(Component owner,
     Component contents,
     int x,
     int y)Creates a  Popupfor the Componentownercontaining the Componentcontents. | 
| ProgressMonitor(Component parentComponent,
               Object message,
               String note,
               int min,
               int max)Constructs a graphic object that shows progress, typically by filling
 in a rectangular bar as the process nears completion. | 
| ProgressMonitorInputStream(Component parentComponent,
                          Object message,
                          InputStream in)Constructs an object to monitor the progress of an input stream. | 
| TransferSupport(Component component,
               Transferable transferable)Create a  TransferSupportwithisDrop()falsefor the given component andTransferable. | 
| Constructor and Description | 
|---|
| SortingFocusTraversalPolicy(Comparator<? super Component> comparator)Constructs a SortingFocusTraversalPolicy with the specified Comparator. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | AbstractBorder. getBaseline(Component c,
           int width,
           int height)Returns the baseline. | 
| int | TitledBorder. getBaseline(Component c,
           int width,
           int height)Returns the baseline. | 
| Component.BaselineResizeBehavior | AbstractBorder. getBaselineResizeBehavior(Component c)Returns an enum indicating how the baseline of a component
 changes as the size changes. | 
| Component.BaselineResizeBehavior | TitledBorder. getBaselineResizeBehavior(Component c)Returns an enum indicating how the baseline of the border
 changes as the size changes. | 
| Insets | Border. getBorderInsets(Component c)Returns the insets of the border. | 
| Insets | AbstractBorder. getBorderInsets(Component c)This default implementation returns a new  Insetsobject
 that is initialized by theAbstractBorder.getBorderInsets(Component,Insets)method. | 
| Insets | SoftBevelBorder. getBorderInsets(Component c,
               Insets insets)Reinitialize the insets parameter with this Border's current Insets. | 
| Insets | BevelBorder. getBorderInsets(Component c,
               Insets insets)Reinitialize the insets parameter with this Border's current Insets. | 
| Insets | AbstractBorder. getBorderInsets(Component c,
               Insets insets)Reinitializes the insets parameter with this Border's current Insets. | 
| Insets | EmptyBorder. getBorderInsets(Component c,
               Insets insets)Reinitialize the insets parameter with this Border's current Insets. | 
| Insets | TitledBorder. getBorderInsets(Component c,
               Insets insets)Reinitialize the insets parameter with this Border's current Insets. | 
| Insets | MatteBorder. getBorderInsets(Component c,
               Insets insets)Reinitialize the insets parameter with this Border's current Insets. | 
| Insets | CompoundBorder. getBorderInsets(Component c,
               Insets insets)Reinitialize the insets parameter with this Border's current Insets. | 
| Insets | StrokeBorder. getBorderInsets(Component c,
               Insets insets)Reinitializes the  insetsparameter
 with this border's current insets. | 
| Insets | EtchedBorder. getBorderInsets(Component c,
               Insets insets)Reinitialize the insets parameter with this Border's current Insets. | 
| Insets | LineBorder. getBorderInsets(Component c,
               Insets insets)Reinitialize the insets parameter with this Border's current Insets. | 
| protected Font | TitledBorder. getFont(Component c) | 
| Color | EtchedBorder. getHighlightColor(Component c)Returns the highlight color of the etched border
 when rendered on the specified component. | 
| Color | BevelBorder. getHighlightInnerColor(Component c)Returns the inner highlight color of the bevel border
 when rendered on the specified component. | 
| Color | BevelBorder. getHighlightOuterColor(Component c)Returns the outer highlight color of the bevel border
 when rendered on the specified component. | 
| static Rectangle | AbstractBorder. getInteriorRectangle(Component c,
                    Border b,
                    int x,
                    int y,
                    int width,
                    int height)Returns a rectangle using the arguments minus the
 insets of the border. | 
| Rectangle | AbstractBorder. getInteriorRectangle(Component c,
                    int x,
                    int y,
                    int width,
                    int height)This convenience method calls the static method. | 
| Dimension | TitledBorder. getMinimumSize(Component c)Returns the minimum dimensions this border requires
 in order to fully display the border and title. | 
| Color | EtchedBorder. getShadowColor(Component c)Returns the shadow color of the etched border
 when rendered on the specified component. | 
| Color | BevelBorder. getShadowInnerColor(Component c)Returns the inner shadow color of the bevel border
 when rendered on the specified component. | 
| Color | BevelBorder. getShadowOuterColor(Component c)Returns the outer shadow color of the bevel border
 when rendered on the specified component. | 
| void | SoftBevelBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height)Paints the border for the specified component with the specified
 position and size. | 
| void | Border. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height)Paints the border for the specified component with the specified
 position and size. | 
| void | BevelBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height)Paints the border for the specified component with the specified
 position and size. | 
| void | AbstractBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height)This default implementation does no painting. | 
| void | EmptyBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height)Does no drawing by default. | 
| void | TitledBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height)Paints the border for the specified component with the
 specified position and size. | 
| void | MatteBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height)Paints the matte border. | 
| void | CompoundBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height)Paints the compound border by painting the outside border
 with the specified position and size and then painting the
 inside border at the specified position and size offset by
 the insets of the outside border. | 
| void | StrokeBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height)Paints the border for the specified component
 with the specified position and size. | 
| void | EtchedBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height)Paints the border for the specified component with the
 specified position and size. | 
| void | LineBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height)Paints the border for the specified component with the
 specified position and size. | 
| protected void | BevelBorder. paintLoweredBevel(Component c,
                 Graphics g,
                 int x,
                 int y,
                 int width,
                 int height) | 
| protected void | BevelBorder. paintRaisedBevel(Component c,
                Graphics g,
                int x,
                int y,
                int width,
                int height) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractColorChooserPanelThis is the abstract superclass for color choosers. | 
| Constructor and Description | 
|---|
| MenuDragMouseEvent(Component source,
                  int id,
                  long when,
                  int modifiers,
                  int x,
                  int y,
                  int clickCount,
                  boolean popupTrigger,
                  MenuElement[] p,
                  MenuSelectionManager m)Constructs a MenuDragMouseEvent object. | 
| MenuDragMouseEvent(Component source,
                  int id,
                  long when,
                  int modifiers,
                  int x,
                  int y,
                  int xAbs,
                  int yAbs,
                  int clickCount,
                  boolean popupTrigger,
                  MenuElement[] p,
                  MenuSelectionManager m)Constructs a MenuDragMouseEvent object. | 
| MenuKeyEvent(Component source,
            int id,
            long when,
            int modifiers,
            int keyCode,
            char keyChar,
            MenuElement[] p,
            MenuSelectionManager m)Constructs a MenuKeyEvent object. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | LayerUI<V extends Component>The base class for all  JLayer's UI delegates. | 
| Modifier and Type | Method and Description | 
|---|---|
| Insets | BorderUIResource. getBorderInsets(Component c) | 
| void | BorderUIResource. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height) | 
| void | IconUIResource. paintIcon(Component c,
         Graphics g,
         int x,
         int y) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BasicArrowButtonJButton object that draws a scaled Arrow in one of the cardinal directions. | 
| class  | BasicComboBoxRendererComboBox renderer | 
| static class  | BasicComboBoxRenderer.UIResourceA subclass of BasicComboBoxRenderer that implements UIResource. | 
| class  | BasicComboPopupThis is a basic implementation of the  ComboPopupinterface. | 
| class  | BasicInternalFrameTitlePaneThe class that manages a basic title bar | 
| class  | BasicInternalFrameTitlePane.SystemMenuBarThis class should be treated as a "protected" inner class. | 
| class  | BasicSplitPaneDividerDivider used by BasicSplitPaneUI. | 
| protected class  | BasicToolBarUI.DragWindow | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Component[] | BasicSplitPaneUI.BasicHorizontalLayoutManager. components | 
| protected Component | BasicTreeUI.MouseInputHandler. destinationDestination that receives all events. | 
| protected Component | BasicTreeUI. editingComponentWhen editing, this will be the Component that is doing the actual
 editing. | 
| protected Component | BasicComboBoxUI. editor | 
| protected Component | BasicSplitPaneDivider. hiddenDividerDivider that is used for noncontinuous layout mode. | 
| protected Component | BasicOptionPaneUI. initialFocusComponentComponent to receive focus when messaged with selectInitialValue. | 
| protected Component | BasicSplitPaneUI. nonContinuousLayoutDividerInstance for the shadow of the divider when non continuous layout
 is being used. | 
| protected Component | BasicTreeUI.MouseInputHandler. sourceSource that events are coming from. | 
| Component | BasicMenuUI.ChangeHandler. wasFocused | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Component | BasicSplitPaneUI. createDefaultNonContinuousLayoutDivider()Returns the default non continuous layout divider, which is an
 instance of  Canvasthat fills in the background with dark gray. | 
| protected Component | BasicSpinnerUI. createNextButton()Creates an increment button, i.e. | 
| protected Component | BasicSpinnerUI. createPreviousButton()Creates a decrement button, i.e. | 
| Component | BasicComboBoxEditor. getEditorComponent() | 
| protected Component | BasicSliderUI. getHighestValueLabel()Returns the label that corresponds to the lowest slider value in the label table. | 
| Component | BasicComboBoxRenderer. getListCellRendererComponent(JList list,
                            Object value,
                            int index,
                            boolean isSelected,
                            boolean cellHasFocus) | 
| protected Component | BasicSliderUI. getLowestValueLabel()Returns the label that corresponds to the highest slider value in the label table. | 
| Component | BasicSplitPaneUI. getNonContinuousLayoutDivider()Returns the divider to use when the splitPane is configured to
 not continuously layout. | 
| protected Component | BasicTabbedPaneUI. getVisibleComponent() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BasicSplitPaneUI.BasicHorizontalLayoutManager. addLayoutComponent(Component comp,
                  Object constraints)Adds the specified component to the layout, using the specified
 constraint object. | 
| void | BasicTabbedPaneUI.TabbedPaneLayout. addLayoutComponent(String name,
                  Component comp) | 
| void | BasicInternalFrameUI.InternalFrameLayout. addLayoutComponent(String name,
                  Component c) | 
| void | BasicSplitPaneUI.BasicHorizontalLayoutManager. addLayoutComponent(String place,
                  Component component)Adds the component at place. | 
| void | BasicSplitPaneDivider.DividerLayout. addLayoutComponent(String string,
                  Component c) | 
| void | BasicComboBoxUI.ComboBoxLayoutManager. addLayoutComponent(String name,
                  Component comp) | 
| void | BasicScrollBarUI. addLayoutComponent(String name,
                  Component child) | 
| void | BasicInternalFrameTitlePane.TitlePaneLayout. addLayoutComponent(String name,
                  Component c) | 
| void | BasicOptionPaneUI.ButtonAreaLayout. addLayoutComponent(String string,
                  Component comp) | 
| boolean | BasicToolBarUI. canDock(Component c,
       Point p) | 
| protected void | BasicTreeUI. drawCentered(Component c,
            Graphics graphics,
            Icon icon,
            int x,
            int y) | 
| Insets | BasicBorders.SplitPaneBorder. getBorderInsets(Component c) | 
| Insets | BasicBorders.ButtonBorder. getBorderInsets(Component c,
               Insets insets) | 
| Insets | BasicBorders.ToggleButtonBorder. getBorderInsets(Component c,
               Insets insets) | 
| Insets | BasicBorders.RadioButtonBorder. getBorderInsets(Component c,
               Insets insets) | 
| Insets | BasicBorders.MenuBarBorder. getBorderInsets(Component c,
               Insets insets) | 
| Insets | BasicBorders.MarginBorder. getBorderInsets(Component c,
               Insets insets) | 
| Insets | BasicBorders.FieldBorder. getBorderInsets(Component c,
               Insets insets) | 
| protected int | BasicSplitPaneUI.BasicHorizontalLayoutManager. getPreferredSizeOfComponent(Component c)Returns the width of the passed in Components preferred size. | 
| protected Dimension | BasicComboBoxUI. getSizeForComponent(Component comp)Returns the size a component would have if used as a cell renderer. | 
| protected int | BasicSplitPaneUI.BasicHorizontalLayoutManager. getSizeOfComponent(Component c)Returns the width of the passed in component. | 
| protected void | BasicSpinnerUI. installNextButtonListeners(Component c)Installs the necessary listeners on the next button,  c,
 to update theJSpinnerin response to a user gesture. | 
| protected void | BasicSpinnerUI. installPreviousButtonListeners(Component c)Installs the necessary listeners on the previous button,  c,
 to update theJSpinnerin response to a user gesture. | 
| void | BasicBorders.RolloverButtonBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | BasicBorders.ButtonBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height) | 
| void | BasicBorders.ToggleButtonBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height) | 
| void | BasicBorders.RadioButtonBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height) | 
| void | BasicBorders.MenuBarBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height) | 
| void | BasicBorders.FieldBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height) | 
| void | BasicBorders.SplitPaneBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int width,
           int height) | 
| protected void | BasicSliderUI. paintHorizontalLabel(Graphics g,
                    int value,
                    Component label)Called for every label in the label table. | 
| protected void | BasicSliderUI. paintVerticalLabel(Graphics g,
                  int value,
                  Component label)Called for every label in the label table. | 
| void | BasicTabbedPaneUI.TabbedPaneLayout. removeLayoutComponent(Component comp) | 
| void | BasicInternalFrameUI.InternalFrameLayout. removeLayoutComponent(Component c) | 
| void | BasicSplitPaneUI.BasicHorizontalLayoutManager. removeLayoutComponent(Component component)Removes the specified component from our knowledge. | 
| void | BasicSplitPaneDivider.DividerLayout. removeLayoutComponent(Component c) | 
| void | BasicComboBoxUI.ComboBoxLayoutManager. removeLayoutComponent(Component comp) | 
| void | BasicScrollBarUI. removeLayoutComponent(Component child) | 
| void | BasicInternalFrameTitlePane.TitlePaneLayout. removeLayoutComponent(Component c) | 
| void | BasicOptionPaneUI.ButtonAreaLayout. removeLayoutComponent(Component c) | 
| protected void | BasicToolBarUI. setBorderToNonRollover(Component c)Sets the border of the component to have a non-rollover border which
 was created by the  BasicToolBarUI.createNonRolloverBorder()method. | 
| protected void | BasicToolBarUI. setBorderToNormal(Component c)Sets the border of the component to have a normal border. | 
| protected void | BasicToolBarUI. setBorderToRollover(Component c)Sets the border of the component to have a rollover border which
 was created by the  BasicToolBarUI.createRolloverBorder()method. | 
| protected void | BasicSplitPaneUI.BasicHorizontalLayoutManager. setComponentToSize(Component c,
                  int size,
                  int location,
                  Insets insets,
                  Dimension containerSize)Sets the width of the component c to be size, placing its
 x location at location, y to the insets.top and height
 to the containersize.height less the top and bottom insets. | 
| protected void | BasicSplitPaneUI. setNonContinuousLayoutDivider(Component newDivider)Sets the divider to use when the splitPane is configured to
 not continuously layout. | 
| protected void | BasicSplitPaneUI. setNonContinuousLayoutDivider(Component newDivider,
                             boolean rememberSizes)Sets the divider to use. | 
| protected void | BasicTabbedPaneUI. setVisibleComponent(Component component) | 
| Constructor and Description | 
|---|
| MouseInputHandler(Component source,
                 Component destination,
                 MouseEvent event) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MetalComboBoxButtonJButton subclass to help out MetalComboBoxUI | 
| class  | MetalComboBoxUI.MetalComboPopupDeprecated. 
 As of Java 2 platform v1.4. | 
| protected class  | MetalFileChooserUI.FileRenderer | 
| class  | MetalFileChooserUI.FilterComboBoxRendererRender different type sizes and styles. | 
| class  | MetalInternalFrameTitlePaneClass that manages a JLF title bar | 
| class  | MetalScrollButtonJButton object for Metal scrollbar arrows. | 
| Modifier and Type | Method and Description | 
|---|---|
| Component | MetalFileChooserUI.FilterComboBoxRenderer. getListCellRendererComponent(JList list,
                            Object value,
                            int index,
                            boolean isSelected,
                            boolean cellHasFocus) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | MetalCheckBoxIcon. drawCheck(Component c,
         Graphics g,
         int x,
         int y) | 
| Insets | MetalBorders.Flush3DBorder. getBorderInsets(Component c,
               Insets newInsets) | 
| Insets | MetalBorders.ButtonBorder. getBorderInsets(Component c,
               Insets newInsets) | 
| Insets | MetalBorders.InternalFrameBorder. getBorderInsets(Component c,
               Insets newInsets) | 
| Insets | MetalBorders.PaletteBorder. getBorderInsets(Component c,
               Insets newInsets) | 
| Insets | MetalBorders.OptionDialogBorder. getBorderInsets(Component c,
               Insets newInsets) | 
| Insets | MetalBorders.MenuBarBorder. getBorderInsets(Component c,
               Insets newInsets) | 
| Insets | MetalBorders.MenuItemBorder. getBorderInsets(Component c,
               Insets newInsets) | 
| Insets | MetalBorders.PopupMenuBorder. getBorderInsets(Component c,
               Insets newInsets) | 
| Insets | MetalBorders.ToolBarBorder. getBorderInsets(Component c,
               Insets newInsets) | 
| Insets | MetalBorders.ScrollPaneBorder. getBorderInsets(Component c,
               Insets insets) | 
| Insets | MetalBorders.TableHeaderBorder. getBorderInsets(Component c,
               Insets insets) | 
| void | MetalBorders.Flush3DBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | MetalBorders.ButtonBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | MetalBorders.InternalFrameBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | MetalBorders.PaletteBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | MetalBorders.OptionDialogBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | MetalBorders.MenuBarBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | MetalBorders.MenuItemBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | MetalBorders.PopupMenuBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | MetalBorders.RolloverButtonBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | MetalBorders.ToolBarBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | MetalBorders.TextFieldBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | MetalBorders.ScrollPaneBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | MetalBorders.ToggleButtonBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | MetalBorders.TableHeaderBorder. paintBorder(Component c,
           Graphics g,
           int x,
           int y,
           int w,
           int h) | 
| void | MetalCheckBoxIcon. paintIcon(Component c,
         Graphics g,
         int x,
         int y) | 
| void | MetalIconFactory.PaletteCloseIcon. paintIcon(Component c,
         Graphics g,
         int x,
         int y) | 
| void | MetalIconFactory.FolderIcon16. paintIcon(Component c,
         Graphics g,
         int x,
         int y) | 
| void | MetalIconFactory.FileIcon16. paintIcon(Component c,
         Graphics g,
         int x,
         int y) | 
| void | MetalIconFactory.TreeControlIcon. paintIcon(Component c,
         Graphics g,
         int x,
         int y) | 
| void | MetalComboBoxIcon. paintIcon(Component c,
         Graphics g,
         int x,
         int y)Paints the horizontal bars for the | 
| void | MetalIconFactory.TreeControlIcon. paintMe(Component c,
       Graphics g,
       int x,
       int y) | 
| void | MetalLookAndFeel. provideErrorFeedback(Component component)Invoked when the user attempts an invalid operation,
 such as pasting into an uneditable  JTextFieldthat has focus. | 
| protected void | MetalToolBarUI. setBorderToNonRollover(Component c) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Component | SynthSplitPaneUI. createDefaultNonContinuousLayoutDivider()Returns the default non continuous layout divider, which is an
 instance of  Canvasthat fills in the background with dark gray. | 
| protected Component | SynthSpinnerUI. createNextButton()Creates an increment button, i.e. | 
| protected Component | SynthSpinnerUI. createPreviousButton()Creates a decrement button, i.e. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | SynthTreeUI. drawCentered(Component c,
            Graphics graphics,
            Icon icon,
            int x,
            int y) | 
| protected void | SynthToolBarUI. setBorderToNonRollover(Component c)This implementation does nothing, because the  rolloverproperty of theJToolBarclass is not used
 in the Synth Look and Feel. | 
| protected void | SynthToolBarUI. setBorderToNormal(Component c)This implementation does nothing, because the  rolloverproperty of theJToolBarclass is not used
 in the Synth Look and Feel. | 
| protected void | SynthToolBarUI. setBorderToRollover(Component c)This implementation does nothing, because the  rolloverproperty of theJToolBarclass is not used
 in the Synth Look and Feel. | 
| static void | SynthLookAndFeel. updateStyles(Component c)Updates the style associated with  c, and all its children. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultTableCellRendererThe standard class for rendering (displaying) individual cells
 in a  JTable. | 
| static class  | DefaultTableCellRenderer.UIResourceA subclass of  DefaultTableCellRendererthat
 implementsUIResource. | 
| class  | JTableHeaderThis is the object which manages the header of the  JTable. | 
| Modifier and Type | Method and Description | 
|---|---|
| Component | TableCellEditor. getTableCellEditorComponent(JTable table,
                           Object value,
                           boolean isSelected,
                           int row,
                           int column)Sets an initial  valuefor the editor. | 
| Component | DefaultTableCellRenderer. getTableCellRendererComponent(JTable table,
                             Object value,
                             boolean isSelected,
                             boolean hasFocus,
                             int row,
                             int column)Returns the default table cell renderer. | 
| Component | TableCellRenderer. getTableCellRendererComponent(JTable table,
                             Object value,
                             boolean isSelected,
                             boolean hasFocus,
                             int row,
                             int column)Returns the component used for drawing the cell. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JTextComponentJTextComponentis the base class for swing text
 components. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Component | ComponentView. createComponent()Create the component that is associated with
 this view. | 
| Component | ComponentView. getComponent()Fetch the component associated with the view. | 
| static Component | StyleConstants. getComponent(AttributeSet a)Gets the component setting from the attribute list. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | PlainView. damageLineRange(int line0,
               int line1,
               Shape a,
               Component host)Repaint the given line range. | 
| static void | StyleConstants. setComponent(MutableAttributeSet a,
            Component c)Sets the component attribute. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Component | ObjectView. createComponent()Create the component. | 
| protected Component | FormView. createComponent()Create the component. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultTreeCellEditor.DefaultTextFieldTextFieldused when no editor is supplied. | 
| class  | DefaultTreeCellEditor.EditorContainerContainer responsible for placing the  editingComponent. | 
| class  | DefaultTreeCellRendererDisplays an entry in a tree. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Component | DefaultTreeCellEditor. editingComponentComponent used in editing, obtained from the
  editingContainer. | 
| Modifier and Type | Method and Description | 
|---|---|
| Component | TreeCellEditor. getTreeCellEditorComponent(JTree tree,
                          Object value,
                          boolean isSelected,
                          boolean expanded,
                          boolean leaf,
                          int row)Sets an initial value for the editor. | 
| Component | DefaultTreeCellEditor. getTreeCellEditorComponent(JTree tree,
                          Object value,
                          boolean isSelected,
                          boolean expanded,
                          boolean leaf,
                          int row)Configures the editor. | 
| Component | DefaultTreeCellRenderer. getTreeCellRendererComponent(JTree tree,
                            Object value,
                            boolean sel,
                            boolean expanded,
                            boolean leaf,
                            int row,
                            boolean hasFocus)Configures the renderer based on the passed in components. | 
| Component | TreeCellRenderer. getTreeCellRendererComponent(JTree tree,
                            Object value,
                            boolean selected,
                            boolean expanded,
                            boolean leaf,
                            int row,
                            boolean hasFocus)Sets the value of the current tree cell to  value. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.