JComponent (Java SE 19 & JDK 19) (original) (raw)

All Implemented Interfaces:

[ImageObserver](../../java/awt/image/ImageObserver.html "interface in java.awt.image"), [MenuContainer](../../java/awt/MenuContainer.html "interface in java.awt"), [Serializable](../../../java.base/java/io/Serializable.html "interface in java.io")

Direct Known Subclasses:

[AbstractButton](AbstractButton.html "class in javax.swing"), [BasicInternalFrameTitlePane](plaf/basic/BasicInternalFrameTitlePane.html "class in javax.swing.plaf.basic"), [Box](Box.html "class in javax.swing"), [Box.Filler](Box.Filler.html "class in javax.swing"), [JColorChooser](JColorChooser.html "class in javax.swing"), [JComboBox](JComboBox.html "class in javax.swing"), [JFileChooser](JFileChooser.html "class in javax.swing"), [JInternalFrame](JInternalFrame.html "class in javax.swing"), [JInternalFrame.JDesktopIcon](JInternalFrame.JDesktopIcon.html "class in javax.swing"), [JLabel](JLabel.html "class in javax.swing"), [JLayer](JLayer.html "class in javax.swing"), [JLayeredPane](JLayeredPane.html "class in javax.swing"), [JList](JList.html "class in javax.swing"), [JMenuBar](JMenuBar.html "class in javax.swing"), [JOptionPane](JOptionPane.html "class in javax.swing"), [JPanel](JPanel.html "class in javax.swing"), [JPopupMenu](JPopupMenu.html "class in javax.swing"), [JProgressBar](JProgressBar.html "class in javax.swing"), [JRootPane](JRootPane.html "class in javax.swing"), [JScrollBar](JScrollBar.html "class in javax.swing"), [JScrollPane](JScrollPane.html "class in javax.swing"), [JSeparator](JSeparator.html "class in javax.swing"), [JSlider](JSlider.html "class in javax.swing"), [JSpinner](JSpinner.html "class in javax.swing"), [JSplitPane](JSplitPane.html "class in javax.swing"), [JTabbedPane](JTabbedPane.html "class in javax.swing"), [JTable](JTable.html "class in javax.swing"), [JTableHeader](table/JTableHeader.html "class in javax.swing.table"), [JTextComponent](text/JTextComponent.html "class in javax.swing.text"), [JToolBar](JToolBar.html "class in javax.swing"), [JToolTip](JToolTip.html "class in javax.swing"), [JTree](JTree.html "class in javax.swing"), [JViewport](JViewport.html "class in javax.swing")


The base class for all Swing components except top-level containers. To use a component that inherits from JComponent, you must place the component in a containment hierarchy whose root is a top-level Swing container. Top-level Swing containers -- such as JFrame, JDialog, and JApplet -- are specialized components that provide a place for other Swing components to paint themselves. For an explanation of containment hierarchies, seeSwing Components and the Containment Hierarchy, a section in The Java Tutorial.

The JComponent class provides:

For more information on these subjects, see theSwing package description and The Java Tutorial sectionThe JComponent Class.

JComponent and its subclasses document default values for certain properties. For example, JTable documents the default row height as 16. Each JComponent subclass that has a ComponentUI will create theComponentUI as part of its constructor. In order to provide a particular look and feel eachComponentUI may set properties back on theJComponent that created it. For example, a custom look and feel may require JTables to have a row height of 24. The documented defaults are the value of a property BEFORE the ComponentUI has been installed. If you need a specific value for a particular property you should explicitly set it.

A JComponent may contain any number of default or initial components as children. This behaviour may change according to look and feel, therefore a JComponent may contain some default or initial components as children for a particular Look and Feel, whereas it may not do so for some other Look and Feel. Within a particular Look and Feel also, this behaviour may change depending upon the configuration properties of the JComponent. In summary, it is not valid to assume a JComponent has no children just because the application did not directly add them.

In release 1.4, the focus subsystem was rearchitected. For more information, see How to Use the Focus Subsystem, a section in The Java Tutorial.

Warning: Swing is not thread safe. For more information see Swing's Threading Policy.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans has been added to the java.beans package. Please see XMLEncoder.

Since:

1.2

See Also:

Nested Classes
class
Inner class of JComponent used to provide default support for accessibility.

Fields
A list of event listeners for this component.
The comment to display when the cursor is over the component, also known as a "value tip", "flyover help", or "flyover label".
The look and feel delegate for this component.
static final int
Constant used by some of the APIs to mean that no condition is defined.
static final int
Constant used for registerKeyboardAction that means that the command should be invoked when the receiving component is an ancestor of the focused component or is itself the focused component.
static final int
Constant used for registerKeyboardAction that means that the command should be invoked when the component has the focus.
static final int
Constant used for registerKeyboardAction that means that the command should be invoked when the receiving component is in the window that has the focus or is itself the focused component.

Constructors
Default JComponent constructor.

void
Registers listener so that it will receiveAncestorEvents when it or any of its ancestors move or are made visible or invisible.
void
[addNotify](#addNotify%28%29)()
Notifies this component that it now has a parent component.
void
Adds a VetoableChangeListener to the listener list.
void
Returns the Component's "visible rect rectangle" - the intersection of the visible rectangles for this component and all of its ancestors.
boolean
[contains](#contains%28int,int%29)(int x, int y)
Gives the UI delegate an opportunity to define the precise shape of this component for the sake of mouse processing.
Returns the instance of JToolTip that should be used to display the tooltip.
void
[disable](#disable%28%29)()
void
[enable](#enable%28%29)()
void
[firePropertyChange](#firePropertyChange%28java.lang.String,boolean,boolean%29)([String](../../../java.base/java/lang/String.html "class in java.lang") propertyName, boolean oldValue, boolean newValue)
Support for reporting bound property changes for boolean properties.
void
[firePropertyChange](#firePropertyChange%28java.lang.String,int,int%29)([String](../../../java.base/java/lang/String.html "class in java.lang") propertyName, int oldValue, int newValue)
Support for reporting bound property changes for integer properties.
protected void
Supports reporting constrained property changes.
Returns the object that will perform the action registered for a given keystroke.
Returns the ActionMap used to determine whatAction to fire for particular KeyStroke binding.
float
Overrides Container.getAlignmentX to return the horizontal alignment.
float
Overrides Container.getAlignmentY to return the vertical alignment.
Returns an array of all the ancestor listeners registered on this component.
boolean
Gets the autoscrolls property.
int
[getBaseline](#getBaseline%28int,int%29)(int width, int height)
Returns an enum indicating how the baseline of the component changes as the size changes.
[getBorder](#getBorder%28%29)()
Returns the border of this component or null if no border is currently set.
Stores the bounds of this component into "return value"rv and returns rv.
Returns the value of the property with the specified key.
Returns the graphics object used to paint this component.
Returns JPopupMenu that assigned for this component.
int
Returns the condition that determines whether a registered action occurs in response to the specified keystroke.
int
Returns the state of graphics debugging.
Returns the default locale used to initialize each JComponent's locale property upon creation.
Gets the FontMetrics for the specified Font.
Returns this component's graphics context, which lets you draw on a component.
int
[getHeight](#getHeight%28%29)()
Returns the current height of this component.
boolean
Returns true if the JPopupMenu should be inherited from the parent.
Returns the InputMap that is used when the component has focus.
[getInputMap](#getInputMap%28int%29)(int condition)
Returns the InputMap that is used duringcondition.
Returns the input verifier for this component.
[getInsets](#getInsets%28%29)()
If a border has been set on this component, returns the border's insets; otherwise calls super.getInsets.
Returns an Insets object containing this component's inset values.
[getListeners](#getListeners%28java.lang.Class%29)([Class](../../../java.base/java/lang/Class.html "class in java.lang")<T> listenerType)
Returns an array of all the objects currently registered as _Foo_Listeners upon this JComponent.
Stores the x,y origin of this component into "return value"rv and returns rv.
If the maximum size has been set to a non-null value just returns it.
If the minimum size has been set to a non-null value just returns it.
Returns the preferred location to display the popup menu in this component's coordinate system.
If the preferredSize has been set to a non-null value just returns it.
Returns the KeyStrokes that will initiate registered actions.
Returns the JRootPane ancestor for this component.
Stores the width/height of this component into "return value"rv and returns rv.
Returns the tooltip location in this component's coordinate system.
Returns the tooltip string that has been set withsetToolTipText.
Returns the string to be used as the tooltip for event.
Returns the top-level ancestor of this component (either the containing Window or Applet), or null if this component has not been added to any container.
Gets the transferHandler property.
[getUI](#getUI%28%29)()
Returns the look and feel delegate that renders this component.
Returns the UIDefaults key used to look up the name of the swing.plaf.ComponentUI class that defines the look and feel for this component.
boolean
Returns the value that indicates whether the input verifier for the current focus owner will be called before this component requests focus.
Returns an array of all the vetoable change listeners registered on this component.
Returns the Component's "visible rectangle" - the intersection of this component's visible rectangle,new Rectangle(0, 0, getWidth(), getHeight()), and all of its ancestors' visible rectangles.
int
[getWidth](#getWidth%28%29)()
Returns the current width of this component.
int
[getX](#getX%28%29)()
Returns the current x coordinate of the component's origin.
int
[getY](#getY%28%29)()
Returns the current y coordinate of the component's origin.
void
[grabFocus](#grabFocus%28%29)()
Requests that this Component get the input focus, and that this Component's top-level ancestor become the focused Window.
void
[hide](#hide%28%29)()
boolean
Returns whether this component should use a buffer to paint.
static boolean
Returns true if this component is lightweight, that is, if it doesn't have a native window system peer.
boolean
boolean
[isOpaque](#isOpaque%28%29)()
Returns true if this component is completely opaque.
boolean
Returns true if this component tiles its children -- that is, if it can guarantee that the children will not overlap.
final boolean
Returns true if the current painting operation on this component is part of a print operation.
protected boolean
Returns true if a paint triggered on a child component should cause painting to originate from this Component, or one of its ancestors.
boolean
Returns true if the component is currently painting a tile.
boolean
Returns true if this JComponent should get focus; otherwise returns false.
boolean
If this method returns true, revalidate calls by descendants of this component will cause the entire tree beginning with this root to be validated.
void
Invoked by Swing to draw components.
protected void
Paints the component's border.
protected void
Paints this component's children.
protected void
Calls the UI delegate's paint method, if the UI delegate is non-null.
void
[paintImmediately](#paintImmediately%28int,int,int,int%29)(int x, int y, int w, int h)
Paints the specified region in this component and all of its descendants that overlap the region, immediately.
void
Paints the specified region now.
Returns a string representation of this JComponent.
void
Invoke this method to print the component to the specifiedGraphics.
void
Invoke this method to print the component.
protected void
Prints the component's border.
protected void
Prints this component's children.
protected void
This is invoked during a printing operation.
protected void
Processes any key events that the component itself recognizes.
protected boolean
Invoked to process the key bindings for ks as the result of the KeyEvent e.
protected void
Overrides processKeyEvent to process events.
protected void
Processes mouse events occurring on this component by dispatching them to any registeredMouseListener objects, refer toComponent.processMouseEvent(MouseEvent) for a complete description of this method.
protected void
Processes mouse motion events, such as MouseEvent.MOUSE_DRAGGED.
final void
Adds an arbitrary key/value "client property" to this component.
void
This method is now obsolete, please use a combination ofgetActionMap() and getInputMap() for similar behavior.
void
This method is now obsolete, please use a combination ofgetActionMap() and getInputMap() for similar behavior.
void
Unregisters listener so that it will no longer receiveAncestorEvents.
void
Notifies this component that it no longer has a parent component.
void
Removes a VetoableChangeListener from the listener list.
void
[repaint](#repaint%28long,int,int,int,int%29)(long tm, int x, int y, int width, int height)
Adds the specified region to the dirty region list if the component is showing.
void
Adds the specified region to the dirty region list if the component is showing.
boolean
void
Requests that this Component gets the input focus.
boolean
[requestFocus](#requestFocus%28boolean%29)(boolean temporary)
Requests that this Component gets the input focus.
boolean
Requests that this Component gets the input focus.
protected boolean
[requestFocusInWindow](#requestFocusInWindow%28boolean%29)(boolean temporary)
Requests that this Component gets the input focus.
void
Unregisters all the bindings in the first tier InputMaps and ActionMap.
void
[reshape](#reshape%28int,int,int,int%29)(int x, int y, int w, int h)
void
Supports deferred automatic layout.
void
Forwards the scrollRectToVisible() message to theJComponent's parent.
final void
Sets the ActionMap to am.
void
[setAlignmentX](#setAlignmentX%28float%29)(float alignmentX)
Sets the horizontal alignment.
void
[setAlignmentY](#setAlignmentY%28float%29)(float alignmentY)
Sets the vertical alignment.
void
[setAutoscrolls](#setAutoscrolls%28boolean%29)(boolean autoscrolls)
Sets the autoscrolls property.
void
Sets the background color of this component.
void
Sets the border of this component.
void
Sets the JPopupMenu for this JComponent.
void
[setDebugGraphicsOptions](#setDebugGraphicsOptions%28int%29)(int debugOptions)
Enables or disables diagnostic information about every graphics operation performed within the component or one of its children.
static void
Sets the default locale used to initialize each JComponent's locale property upon creation.
void
[setDoubleBuffered](#setDoubleBuffered%28boolean%29)(boolean aFlag)
Sets whether this component should use a buffer to paint.
void
[setEnabled](#setEnabled%28boolean%29)(boolean enabled)
Sets whether or not this component is enabled.
void
Sets the focus traversal keys for a given traversal operation for this Component.
void
Sets the font for this component.
void
Sets the foreground color of this component.
void
[setInheritsPopupMenu](#setInheritsPopupMenu%28boolean%29)(boolean value)
Sets whether or not getComponentPopupMenu should delegate to the parent if this component does not have a JPopupMenu assigned to it.
final void
Sets the InputMap to use under the conditioncondition tomap.
void
Sets the input verifier for this component.
void
Sets the maximum size of this component to a constant value.
void
Sets the minimum size of this component to a constant value.
void
void
[setOpaque](#setOpaque%28boolean%29)(boolean isOpaque)
If true the component paints every pixel within its bounds.
void
Sets the preferred size of this component.
void
[setRequestFocusEnabled](#setRequestFocusEnabled%28boolean%29)(boolean requestFocusEnabled)
Provides a hint as to whether or not this JComponent should get focus.
void
Registers the text to display in a tool tip.
void
Sets the TransferHandler, which provides support for transfer of data into and out of this component via cut/copy/paste and drag and drop.
protected void
Sets the look and feel delegate for this component.
void
[setVerifyInputWhenFocusTarget](#setVerifyInputWhenFocusTarget%28boolean%29)(boolean verifyInputWhenFocusTarget)
Sets the value to indicate whether input verifier for the current focus owner will be called before this component requests focus.
void
[setVisible](#setVisible%28boolean%29)(boolean aFlag)
Makes the component visible or invisible.
void
This method is now obsolete.
void
void
[updateUI](#updateUI%28%29)()
This method is called to update the UI property to a value from the current look and feel.

Methods declared in class java.awt.Container

[add](../../java/awt/Container.html#add%28java.awt.Component%29), [add](../../java/awt/Container.html#add%28java.awt.Component,int%29), [add](../../java/awt/Container.html#add%28java.awt.Component,java.lang.Object%29), [add](../../java/awt/Container.html#add%28java.awt.Component,java.lang.Object,int%29), [add](../../java/awt/Container.html#add%28java.lang.String,java.awt.Component%29), [addContainerListener](../../java/awt/Container.html#addContainerListener%28java.awt.event.ContainerListener%29), [addImpl](../../java/awt/Container.html#addImpl%28java.awt.Component,java.lang.Object,int%29), [addPropertyChangeListener](../../java/awt/Container.html#addPropertyChangeListener%28java.beans.PropertyChangeListener%29), [addPropertyChangeListener](../../java/awt/Container.html#addPropertyChangeListener%28java.lang.String,java.beans.PropertyChangeListener%29), [applyComponentOrientation](../../java/awt/Container.html#applyComponentOrientation%28java.awt.ComponentOrientation%29), [areFocusTraversalKeysSet](../../java/awt/Container.html#areFocusTraversalKeysSet%28int%29), [countComponents](../../java/awt/Container.html#countComponents%28%29), [deliverEvent](../../java/awt/Container.html#deliverEvent%28java.awt.Event%29), [doLayout](../../java/awt/Container.html#doLayout%28%29), [findComponentAt](../../java/awt/Container.html#findComponentAt%28int,int%29), [findComponentAt](../../java/awt/Container.html#findComponentAt%28java.awt.Point%29), [getComponent](../../java/awt/Container.html#getComponent%28int%29), [getComponentAt](../../java/awt/Container.html#getComponentAt%28int,int%29), [getComponentAt](../../java/awt/Container.html#getComponentAt%28java.awt.Point%29), [getComponentCount](../../java/awt/Container.html#getComponentCount%28%29), [getComponents](../../java/awt/Container.html#getComponents%28%29), [getComponentZOrder](../../java/awt/Container.html#getComponentZOrder%28java.awt.Component%29), [getContainerListeners](../../java/awt/Container.html#getContainerListeners%28%29), [getFocusTraversalKeys](../../java/awt/Container.html#getFocusTraversalKeys%28int%29), [getFocusTraversalPolicy](../../java/awt/Container.html#getFocusTraversalPolicy%28%29), [getLayout](../../java/awt/Container.html#getLayout%28%29), [getMousePosition](../../java/awt/Container.html#getMousePosition%28boolean%29), [insets](../../java/awt/Container.html#insets%28%29), [invalidate](../../java/awt/Container.html#invalidate%28%29), [isAncestorOf](../../java/awt/Container.html#isAncestorOf%28java.awt.Component%29), [isFocusCycleRoot](../../java/awt/Container.html#isFocusCycleRoot%28%29), [isFocusCycleRoot](../../java/awt/Container.html#isFocusCycleRoot%28java.awt.Container%29), [isFocusTraversalPolicyProvider](../../java/awt/Container.html#isFocusTraversalPolicyProvider%28%29), [isFocusTraversalPolicySet](../../java/awt/Container.html#isFocusTraversalPolicySet%28%29), [layout](../../java/awt/Container.html#layout%28%29), [list](../../java/awt/Container.html#list%28java.io.PrintStream,int%29), [list](../../java/awt/Container.html#list%28java.io.PrintWriter,int%29), [locate](../../java/awt/Container.html#locate%28int,int%29), [minimumSize](../../java/awt/Container.html#minimumSize%28%29), [paintComponents](../../java/awt/Container.html#paintComponents%28java.awt.Graphics%29), [preferredSize](../../java/awt/Container.html#preferredSize%28%29), [printComponents](../../java/awt/Container.html#printComponents%28java.awt.Graphics%29), [processContainerEvent](../../java/awt/Container.html#processContainerEvent%28java.awt.event.ContainerEvent%29), [processEvent](../../java/awt/Container.html#processEvent%28java.awt.AWTEvent%29), [remove](../../java/awt/Container.html#remove%28int%29), [remove](../../java/awt/Container.html#remove%28java.awt.Component%29), [removeAll](../../java/awt/Container.html#removeAll%28%29), [removeContainerListener](../../java/awt/Container.html#removeContainerListener%28java.awt.event.ContainerListener%29), [setComponentZOrder](../../java/awt/Container.html#setComponentZOrder%28java.awt.Component,int%29), [setFocusCycleRoot](../../java/awt/Container.html#setFocusCycleRoot%28boolean%29), [setFocusTraversalPolicy](../../java/awt/Container.html#setFocusTraversalPolicy%28java.awt.FocusTraversalPolicy%29), [setFocusTraversalPolicyProvider](../../java/awt/Container.html#setFocusTraversalPolicyProvider%28boolean%29), [setLayout](../../java/awt/Container.html#setLayout%28java.awt.LayoutManager%29), [transferFocusDownCycle](../../java/awt/Container.html#transferFocusDownCycle%28%29), [validate](../../java/awt/Container.html#validate%28%29), [validateTree](../../java/awt/Container.html#validateTree%28%29)

Methods declared in class java.awt.Component

[action](../../java/awt/Component.html#action%28java.awt.Event,java.lang.Object%29), [add](../../java/awt/Component.html#add%28java.awt.PopupMenu%29), [addComponentListener](../../java/awt/Component.html#addComponentListener%28java.awt.event.ComponentListener%29), [addFocusListener](../../java/awt/Component.html#addFocusListener%28java.awt.event.FocusListener%29), [addHierarchyBoundsListener](../../java/awt/Component.html#addHierarchyBoundsListener%28java.awt.event.HierarchyBoundsListener%29), [addHierarchyListener](../../java/awt/Component.html#addHierarchyListener%28java.awt.event.HierarchyListener%29), [addInputMethodListener](../../java/awt/Component.html#addInputMethodListener%28java.awt.event.InputMethodListener%29), [addKeyListener](../../java/awt/Component.html#addKeyListener%28java.awt.event.KeyListener%29), [addMouseListener](../../java/awt/Component.html#addMouseListener%28java.awt.event.MouseListener%29), [addMouseMotionListener](../../java/awt/Component.html#addMouseMotionListener%28java.awt.event.MouseMotionListener%29), [addMouseWheelListener](../../java/awt/Component.html#addMouseWheelListener%28java.awt.event.MouseWheelListener%29), [bounds](../../java/awt/Component.html#bounds%28%29), [checkImage](../../java/awt/Component.html#checkImage%28java.awt.Image,int,int,java.awt.image.ImageObserver%29), [checkImage](../../java/awt/Component.html#checkImage%28java.awt.Image,java.awt.image.ImageObserver%29), [coalesceEvents](../../java/awt/Component.html#coalesceEvents%28java.awt.AWTEvent,java.awt.AWTEvent%29), [contains](../../java/awt/Component.html#contains%28java.awt.Point%29), [createImage](../../java/awt/Component.html#createImage%28int,int%29), [createImage](../../java/awt/Component.html#createImage%28java.awt.image.ImageProducer%29), [createVolatileImage](../../java/awt/Component.html#createVolatileImage%28int,int%29), [createVolatileImage](../../java/awt/Component.html#createVolatileImage%28int,int,java.awt.ImageCapabilities%29), [disableEvents](../../java/awt/Component.html#disableEvents%28long%29), [dispatchEvent](../../java/awt/Component.html#dispatchEvent%28java.awt.AWTEvent%29), [enable](../../java/awt/Component.html#enable%28boolean%29), [enableEvents](../../java/awt/Component.html#enableEvents%28long%29), [enableInputMethods](../../java/awt/Component.html#enableInputMethods%28boolean%29), [firePropertyChange](../../java/awt/Component.html#firePropertyChange%28java.lang.String,byte,byte%29), [firePropertyChange](../../java/awt/Component.html#firePropertyChange%28java.lang.String,char,char%29), [firePropertyChange](../../java/awt/Component.html#firePropertyChange%28java.lang.String,double,double%29), [firePropertyChange](../../java/awt/Component.html#firePropertyChange%28java.lang.String,float,float%29), [firePropertyChange](../../java/awt/Component.html#firePropertyChange%28java.lang.String,long,long%29), [firePropertyChange](../../java/awt/Component.html#firePropertyChange%28java.lang.String,short,short%29), [firePropertyChange](../../java/awt/Component.html#firePropertyChange%28java.lang.String,java.lang.Object,java.lang.Object%29), [getAccessibleContext](../../java/awt/Component.html#getAccessibleContext%28%29), [getBackground](../../java/awt/Component.html#getBackground%28%29), [getBounds](../../java/awt/Component.html#getBounds%28%29), [getColorModel](../../java/awt/Component.html#getColorModel%28%29), [getComponentListeners](../../java/awt/Component.html#getComponentListeners%28%29), [getComponentOrientation](../../java/awt/Component.html#getComponentOrientation%28%29), [getCursor](../../java/awt/Component.html#getCursor%28%29), [getDropTarget](../../java/awt/Component.html#getDropTarget%28%29), [getFocusCycleRootAncestor](../../java/awt/Component.html#getFocusCycleRootAncestor%28%29), [getFocusListeners](../../java/awt/Component.html#getFocusListeners%28%29), [getFocusTraversalKeysEnabled](../../java/awt/Component.html#getFocusTraversalKeysEnabled%28%29), [getFont](../../java/awt/Component.html#getFont%28%29), [getForeground](../../java/awt/Component.html#getForeground%28%29), [getGraphicsConfiguration](../../java/awt/Component.html#getGraphicsConfiguration%28%29), [getHierarchyBoundsListeners](../../java/awt/Component.html#getHierarchyBoundsListeners%28%29), [getHierarchyListeners](../../java/awt/Component.html#getHierarchyListeners%28%29), [getIgnoreRepaint](../../java/awt/Component.html#getIgnoreRepaint%28%29), [getInputContext](../../java/awt/Component.html#getInputContext%28%29), [getInputMethodListeners](../../java/awt/Component.html#getInputMethodListeners%28%29), [getInputMethodRequests](../../java/awt/Component.html#getInputMethodRequests%28%29), [getKeyListeners](../../java/awt/Component.html#getKeyListeners%28%29), [getLocale](../../java/awt/Component.html#getLocale%28%29), [getLocation](../../java/awt/Component.html#getLocation%28%29), [getLocationOnScreen](../../java/awt/Component.html#getLocationOnScreen%28%29), [getMouseListeners](../../java/awt/Component.html#getMouseListeners%28%29), [getMouseMotionListeners](../../java/awt/Component.html#getMouseMotionListeners%28%29), [getMousePosition](../../java/awt/Component.html#getMousePosition%28%29), [getMouseWheelListeners](../../java/awt/Component.html#getMouseWheelListeners%28%29), [getName](../../java/awt/Component.html#getName%28%29), [getParent](../../java/awt/Component.html#getParent%28%29), [getPropertyChangeListeners](../../java/awt/Component.html#getPropertyChangeListeners%28%29), [getPropertyChangeListeners](../../java/awt/Component.html#getPropertyChangeListeners%28java.lang.String%29), [getSize](../../java/awt/Component.html#getSize%28%29), [getToolkit](../../java/awt/Component.html#getToolkit%28%29), [getTreeLock](../../java/awt/Component.html#getTreeLock%28%29), [gotFocus](../../java/awt/Component.html#gotFocus%28java.awt.Event,java.lang.Object%29), [handleEvent](../../java/awt/Component.html#handleEvent%28java.awt.Event%29), [hasFocus](../../java/awt/Component.html#hasFocus%28%29), [imageUpdate](../../java/awt/Component.html#imageUpdate%28java.awt.Image,int,int,int,int,int%29), [inside](../../java/awt/Component.html#inside%28int,int%29), [isBackgroundSet](../../java/awt/Component.html#isBackgroundSet%28%29), [isCursorSet](../../java/awt/Component.html#isCursorSet%28%29), [isDisplayable](../../java/awt/Component.html#isDisplayable%28%29), [isEnabled](../../java/awt/Component.html#isEnabled%28%29), [isFocusable](../../java/awt/Component.html#isFocusable%28%29), [isFocusOwner](../../java/awt/Component.html#isFocusOwner%28%29), [isFocusTraversable](../../java/awt/Component.html#isFocusTraversable%28%29), [isFontSet](../../java/awt/Component.html#isFontSet%28%29), [isForegroundSet](../../java/awt/Component.html#isForegroundSet%28%29), [isLightweight](../../java/awt/Component.html#isLightweight%28%29), [isMaximumSizeSet](../../java/awt/Component.html#isMaximumSizeSet%28%29), [isMinimumSizeSet](../../java/awt/Component.html#isMinimumSizeSet%28%29), [isPreferredSizeSet](../../java/awt/Component.html#isPreferredSizeSet%28%29), [isShowing](../../java/awt/Component.html#isShowing%28%29), [isValid](../../java/awt/Component.html#isValid%28%29), [isVisible](../../java/awt/Component.html#isVisible%28%29), [keyDown](../../java/awt/Component.html#keyDown%28java.awt.Event,int%29), [keyUp](../../java/awt/Component.html#keyUp%28java.awt.Event,int%29), [list](../../java/awt/Component.html#list%28%29), [list](../../java/awt/Component.html#list%28java.io.PrintStream%29), [list](../../java/awt/Component.html#list%28java.io.PrintWriter%29), [location](../../java/awt/Component.html#location%28%29), [lostFocus](../../java/awt/Component.html#lostFocus%28java.awt.Event,java.lang.Object%29), [mouseDown](../../java/awt/Component.html#mouseDown%28java.awt.Event,int,int%29), [mouseDrag](../../java/awt/Component.html#mouseDrag%28java.awt.Event,int,int%29), [mouseEnter](../../java/awt/Component.html#mouseEnter%28java.awt.Event,int,int%29), [mouseExit](../../java/awt/Component.html#mouseExit%28java.awt.Event,int,int%29), [mouseMove](../../java/awt/Component.html#mouseMove%28java.awt.Event,int,int%29), [mouseUp](../../java/awt/Component.html#mouseUp%28java.awt.Event,int,int%29), [move](../../java/awt/Component.html#move%28int,int%29), [nextFocus](../../java/awt/Component.html#nextFocus%28%29), [paintAll](../../java/awt/Component.html#paintAll%28java.awt.Graphics%29), [postEvent](../../java/awt/Component.html#postEvent%28java.awt.Event%29), [prepareImage](../../java/awt/Component.html#prepareImage%28java.awt.Image,int,int,java.awt.image.ImageObserver%29), [prepareImage](../../java/awt/Component.html#prepareImage%28java.awt.Image,java.awt.image.ImageObserver%29), [processComponentEvent](../../java/awt/Component.html#processComponentEvent%28java.awt.event.ComponentEvent%29), [processFocusEvent](../../java/awt/Component.html#processFocusEvent%28java.awt.event.FocusEvent%29), [processHierarchyBoundsEvent](../../java/awt/Component.html#processHierarchyBoundsEvent%28java.awt.event.HierarchyEvent%29), [processHierarchyEvent](../../java/awt/Component.html#processHierarchyEvent%28java.awt.event.HierarchyEvent%29), [processInputMethodEvent](../../java/awt/Component.html#processInputMethodEvent%28java.awt.event.InputMethodEvent%29), [processMouseWheelEvent](../../java/awt/Component.html#processMouseWheelEvent%28java.awt.event.MouseWheelEvent%29), [remove](../../java/awt/Component.html#remove%28java.awt.MenuComponent%29), [removeComponentListener](../../java/awt/Component.html#removeComponentListener%28java.awt.event.ComponentListener%29), [removeFocusListener](../../java/awt/Component.html#removeFocusListener%28java.awt.event.FocusListener%29), [removeHierarchyBoundsListener](../../java/awt/Component.html#removeHierarchyBoundsListener%28java.awt.event.HierarchyBoundsListener%29), [removeHierarchyListener](../../java/awt/Component.html#removeHierarchyListener%28java.awt.event.HierarchyListener%29), [removeInputMethodListener](../../java/awt/Component.html#removeInputMethodListener%28java.awt.event.InputMethodListener%29), [removeKeyListener](../../java/awt/Component.html#removeKeyListener%28java.awt.event.KeyListener%29), [removeMouseListener](../../java/awt/Component.html#removeMouseListener%28java.awt.event.MouseListener%29), [removeMouseMotionListener](../../java/awt/Component.html#removeMouseMotionListener%28java.awt.event.MouseMotionListener%29), [removeMouseWheelListener](../../java/awt/Component.html#removeMouseWheelListener%28java.awt.event.MouseWheelListener%29), [removePropertyChangeListener](../../java/awt/Component.html#removePropertyChangeListener%28java.beans.PropertyChangeListener%29), [removePropertyChangeListener](../../java/awt/Component.html#removePropertyChangeListener%28java.lang.String,java.beans.PropertyChangeListener%29), [repaint](../../java/awt/Component.html#repaint%28%29), [repaint](../../java/awt/Component.html#repaint%28int,int,int,int%29), [repaint](../../java/awt/Component.html#repaint%28long%29), [requestFocus](../../java/awt/Component.html#requestFocus%28boolean,java.awt.event.FocusEvent.Cause%29), [requestFocus](../../java/awt/Component.html#requestFocus%28java.awt.event.FocusEvent.Cause%29), [requestFocusInWindow](../../java/awt/Component.html#requestFocusInWindow%28java.awt.event.FocusEvent.Cause%29), [resize](../../java/awt/Component.html#resize%28int,int%29), [resize](../../java/awt/Component.html#resize%28java.awt.Dimension%29), [setBounds](../../java/awt/Component.html#setBounds%28int,int,int,int%29), [setBounds](../../java/awt/Component.html#setBounds%28java.awt.Rectangle%29), [setComponentOrientation](../../java/awt/Component.html#setComponentOrientation%28java.awt.ComponentOrientation%29), [setCursor](../../java/awt/Component.html#setCursor%28java.awt.Cursor%29), [setDropTarget](../../java/awt/Component.html#setDropTarget%28java.awt.dnd.DropTarget%29), [setFocusable](../../java/awt/Component.html#setFocusable%28boolean%29), [setFocusTraversalKeysEnabled](../../java/awt/Component.html#setFocusTraversalKeysEnabled%28boolean%29), [setIgnoreRepaint](../../java/awt/Component.html#setIgnoreRepaint%28boolean%29), [setLocale](../../java/awt/Component.html#setLocale%28java.util.Locale%29), [setLocation](../../java/awt/Component.html#setLocation%28int,int%29), [setLocation](../../java/awt/Component.html#setLocation%28java.awt.Point%29), [setMixingCutoutShape](../../java/awt/Component.html#setMixingCutoutShape%28java.awt.Shape%29), [setName](../../java/awt/Component.html#setName%28java.lang.String%29), [setSize](../../java/awt/Component.html#setSize%28int,int%29), [setSize](../../java/awt/Component.html#setSize%28java.awt.Dimension%29), [show](../../java/awt/Component.html#show%28%29), [show](../../java/awt/Component.html#show%28boolean%29), [size](../../java/awt/Component.html#size%28%29), [toString](../../java/awt/Component.html#toString%28%29), [transferFocus](../../java/awt/Component.html#transferFocus%28%29), [transferFocusBackward](../../java/awt/Component.html#transferFocusBackward%28%29), [transferFocusUpCycle](../../java/awt/Component.html#transferFocusUpCycle%28%29)