javax.swing
Class JRootPane

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.awt.Component sample code for java.awt.Component definition code for java.awt.Component 
      extended by java.awt.Container sample code for java.awt.Container definition code for java.awt.Container 
          extended by javax.swing.JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent 
              extended by javax.swing.JRootPane
All Implemented Interfaces:
ImageObserver sample code for java.awt.image.ImageObserver definition code for java.awt.image.ImageObserver , MenuContainer sample code for java.awt.MenuContainer definition code for java.awt.MenuContainer , Serializable sample code for java.io.Serializable definition code for java.io.Serializable , Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible

public class JRootPane
extends JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent
implements Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible

A lightweight container used behind the scenes by JFrame, JDialog, JWindow, JApplet, and JInternalFrame. For task-oriented information on functionality provided by root panes see How to Use Root Panes, a section in The Java Tutorial.

The following image shows the relationships between the classes that use root panes.

The following text describes this graphic.

The "heavyweight" components (those that delegate to a peer, or native component on the host system) are shown with a darker, heavier box. The four heavyweight JFC/Swing containers (JFrame, JDialog, JWindow, and JApplet) are shown in relation to the AWT classes they extend. These four components are the only heavyweight containers in the Swing library. The lightweight container JInternalPane is also shown. All five of these JFC/Swing containers implement the RootPaneContainer interface, and they all delegate their operations to a JRootPane (shown with a little "handle" on top).
Note: The JComponent method getRootPane can be used to obtain the JRootPane that contains a given component.
The following text describes this graphic.
The diagram at right shows the structure of a JRootPane. A JRootpane is made up of a glassPane, an optional menuBar, and a contentPane. (The JLayeredPane manages the menuBar and the contentPane.) The glassPane sits over the top of everything, where it is in a position to intercept mouse movements. Since the glassPane (like the contentPane) can be an arbitrary component, it is also possible to set up the glassPane for drawing. Lines and images on the glassPane can then range over the frames underneath without being limited by their boundaries.

Although the menuBar component is optional, the layeredPane, contentPane, and glassPane always exist. Attempting to set them to null generates an exception.

To add components to the JRootPane (other than the optional menu bar), you add the object to the contentPane of the JRootPane, like this:

       rootPane.getContentPane().add(child);
 
The same principle holds true for setting layout managers, removing components, listing children, etc. All these methods are invoked on the contentPane instead of on the JRootPane.
Note: The default layout manager for the contentPane is a BorderLayout manager. However, the JRootPane uses a custom LayoutManager. So, when you want to change the layout manager for the components you added to a JRootPane, be sure to use code like this:
    rootPane.getContentPane().setLayout(new BoxLayout());
 
If a JMenuBar component is set on the JRootPane, it is positioned along the upper edge of the frame. The contentPane is adjusted in location and size to fill the remaining area. (The JMenuBar and the contentPane are added to the layeredPane component at the JLayeredPane.FRAME_CONTENT_LAYER layer.)

The layeredPane is the parent of all children in the JRootPane -- both as the direct parent of the menu and the grandparent of all components added to the contentPane. It is an instance of JLayeredPane, which provides the ability to add components at several layers. This capability is very useful when working with menu popups, dialog boxes, and dragging -- situations in which you need to place a component on top of all other components in the pane.

The glassPane sits on top of all other components in the JRootPane. That provides a convenient place to draw above all other components, and makes it possible to intercept mouse events, which is useful both for dragging and for drawing. Developers can use setVisible on the glassPane to control when the glassPane displays over the other children. By default the glassPane is not visible.

The custom LayoutManager used by JRootPane ensures that:

  1. The glassPane fills the entire viewable area of the JRootPane (bounds - insets).
  2. The layeredPane fills the entire viewable area of the JRootPane. (bounds - insets)
  3. The menuBar is positioned at the upper edge of the layeredPane.
  4. The contentPane fills the entire viewable area, minus the menuBar, if present.
Any other views in the JRootPane view hierarchy are ignored.

If you replace the LayoutManager of the JRootPane, you are responsible for managing all of these views. So ordinarily you will want to be sure that you change the layout manager for the contentPane rather than for the JRootPane itself!

The painting architecture of Swing requires an opaque JComponent to exist in the containment hieararchy above all other components. This is typically provided by way of the content pane. If you replace the content pane, it is recommended that you make the content pane opaque by way of setOpaque(true). Additionally, if the content pane overrides paintComponent, it will need to completely fill in the background in an opaque color in paintComponent.

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 JavaBeansTM has been added to the java.beans package. Please see XMLEncoder sample code for java.beans.XMLEncoder definition code for java.beans.XMLEncoder .

See Also:
JLayeredPane sample code for javax.swing.JLayeredPane definition code for javax.swing.JLayeredPane , JMenuBar sample code for javax.swing.JMenuBar definition code for javax.swing.JMenuBar , JWindow sample code for javax.swing.JWindow definition code for javax.swing.JWindow , JFrame sample code for javax.swing.JFrame definition code for javax.swing.JFrame , JDialog sample code for javax.swing.JDialog definition code for javax.swing.JDialog , JApplet sample code for javax.swing.JApplet definition code for javax.swing.JApplet , JInternalFrame sample code for javax.swing.JInternalFrame definition code for javax.swing.JInternalFrame , JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent , BoxLayout sample code for javax.swing.BoxLayout definition code for javax.swing.BoxLayout , Mixing Heavy and Light Components, Serialized Form

Nested Class Summary
protected  class JRootPane.AccessibleJRootPane sample code for javax.swing.JRootPane.AccessibleJRootPane definition code for javax.swing.JRootPane.AccessibleJRootPane
          This class implements accessibility support for the JRootPane class.
protected  class JRootPane.RootLayout sample code for javax.swing.JRootPane.RootLayout definition code for javax.swing.JRootPane.RootLayout
          A custom layout manager that is responsible for the layout of layeredPane, glassPane, and menuBar.
 
Nested classes/interfaces inherited from class javax.swing.JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent
JComponent.AccessibleJComponent sample code for javax.swing.JComponent.AccessibleJComponent definition code for javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container sample code for java.awt.Container definition code for java.awt.Container
Container.AccessibleAWTContainer sample code for java.awt.Container.AccessibleAWTContainer definition code for java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component sample code for java.awt.Component definition code for java.awt.Component
Component.AccessibleAWTComponent sample code for java.awt.Component.AccessibleAWTComponent definition code for java.awt.Component.AccessibleAWTComponent , Component.BltBufferStrategy sample code for java.awt.Component.BltBufferStrategy definition code for java.awt.Component.BltBufferStrategy , Component.FlipBufferStrategy sample code for java.awt.Component.FlipBufferStrategy definition code for java.awt.Component.FlipBufferStrategy
 
Field Summary
static int COLOR_CHOOSER_DIALOG sample code for javax.swing.JRootPane.COLOR_CHOOSER_DIALOG definition code for javax.swing.JRootPane.COLOR_CHOOSER_DIALOG
          Constant used for the windowDecorationStyle property.
protected  Container sample code for java.awt.Container definition code for java.awt.Container contentPane sample code for javax.swing.JRootPane.contentPane definition code for javax.swing.JRootPane.contentPane
          The content pane.
protected  JButton sample code for javax.swing.JButton definition code for javax.swing.JButton defaultButton sample code for javax.swing.JRootPane.defaultButton definition code for javax.swing.JRootPane.defaultButton
          The button that gets activated when the pane has the focus and a UI-specific action like pressing the Enter key occurs.
protected  javax.swing.JRootPane.DefaultAction defaultPressAction sample code for javax.swing.JRootPane.defaultPressAction definition code for javax.swing.JRootPane.defaultPressAction
          Deprecated. As of Java 2 platform v1.3.
protected  javax.swing.JRootPane.DefaultAction defaultReleaseAction sample code for javax.swing.JRootPane.defaultReleaseAction definition code for javax.swing.JRootPane.defaultReleaseAction
          Deprecated. As of Java 2 platform v1.3.
static int ERROR_DIALOG sample code for javax.swing.JRootPane.ERROR_DIALOG definition code for javax.swing.JRootPane.ERROR_DIALOG
          Constant used for the windowDecorationStyle property.
static int FILE_CHOOSER_DIALOG sample code for javax.swing.JRootPane.FILE_CHOOSER_DIALOG definition code for javax.swing.JRootPane.FILE_CHOOSER_DIALOG
          Constant used for the windowDecorationStyle property.
static int FRAME sample code for javax.swing.JRootPane.FRAME definition code for javax.swing.JRootPane.FRAME
          Constant used for the windowDecorationStyle property.
protected  Component sample code for java.awt.Component definition code for java.awt.Component glassPane sample code for javax.swing.JRootPane.glassPane definition code for javax.swing.JRootPane.glassPane
          The glass pane that overlays the menu bar and content pane, so it can intercept mouse movements and such.
static int INFORMATION_DIALOG sample code for javax.swing.JRootPane.INFORMATION_DIALOG definition code for javax.swing.JRootPane.INFORMATION_DIALOG
          Constant used for the windowDecorationStyle property.
protected  JLayeredPane sample code for javax.swing.JLayeredPane definition code for javax.swing.JLayeredPane layeredPane sample code for javax.swing.JRootPane.layeredPane definition code for javax.swing.JRootPane.layeredPane
          The layered pane that manages the menu bar and content pane.
protected  JMenuBar sample code for javax.swing.JMenuBar definition code for javax.swing.JMenuBar menuBar sample code for javax.swing.JRootPane.menuBar definition code for javax.swing.JRootPane.menuBar
          The menu bar.
static int NONE sample code for javax.swing.JRootPane.NONE definition code for javax.swing.JRootPane.NONE
          Constant used for the windowDecorationStyle property.
static int PLAIN_DIALOG sample code for javax.swing.JRootPane.PLAIN_DIALOG definition code for javax.swing.JRootPane.PLAIN_DIALOG
          Constant used for the windowDecorationStyle property.
static int QUESTION_DIALOG sample code for javax.swing.JRootPane.QUESTION_DIALOG definition code for javax.swing.JRootPane.QUESTION_DIALOG
          Constant used for the windowDecorationStyle property.
static int WARNING_DIALOG sample code for javax.swing.JRootPane.WARNING_DIALOG definition code for javax.swing.JRootPane.WARNING_DIALOG
          Constant used for the windowDecorationStyle property.
 
Fields inherited from class javax.swing.JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent
accessibleContext sample code for javax.swing.JComponent.accessibleContext definition code for javax.swing.JComponent.accessibleContext , listenerList sample code for javax.swing.JComponent.listenerList definition code for javax.swing.JComponent.listenerList , TOOL_TIP_TEXT_KEY sample code for javax.swing.JComponent.TOOL_TIP_TEXT_KEY definition code for javax.swing.JComponent.TOOL_TIP_TEXT_KEY , ui sample code for javax.swing.JComponent.ui definition code for javax.swing.JComponent.ui , UNDEFINED_CONDITION sample code for javax.swing.JComponent.UNDEFINED_CONDITION definition code for javax.swing.JComponent.UNDEFINED_CONDITION , WHEN_ANCESTOR_OF_FOCUSED_COMPONENT sample code for javax.swing.JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT definition code for javax.swing.JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT , WHEN_FOCUSED sample code for javax.swing.JComponent.WHEN_FOCUSED definition code for javax.swing.JComponent.WHEN_FOCUSED , WHEN_IN_FOCUSED_WINDOW sample code for javax.swing.JComponent.WHEN_IN_FOCUSED_WINDOW definition code for javax.swing.JComponent.WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component sample code for java.awt.Component definition code for java.awt.Component
BOTTOM_ALIGNMENT sample code for java.awt.Component.BOTTOM_ALIGNMENT definition code for java.awt.Component.BOTTOM_ALIGNMENT , CENTER_ALIGNMENT sample code for java.awt.Component.CENTER_ALIGNMENT definition code for java.awt.Component.CENTER_ALIGNMENT , LEFT_ALIGNMENT sample code for java.awt.Component.LEFT_ALIGNMENT definition code for java.awt.Component.LEFT_ALIGNMENT , RIGHT_ALIGNMENT sample code for java.awt.Component.RIGHT_ALIGNMENT definition code for java.awt.Component.RIGHT_ALIGNMENT , TOP_ALIGNMENT sample code for java.awt.Component.TOP_ALIGNMENT definition code for java.awt.Component.TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver sample code for java.awt.image.ImageObserver definition code for java.awt.image.ImageObserver
ABORT sample code for java.awt.image.ImageObserver.ABORT definition code for java.awt.image.ImageObserver.ABORT , ALLBITS sample code for java.awt.image.ImageObserver.ALLBITS definition code for java.awt.image.ImageObserver.ALLBITS , ERROR sample code for java.awt.image.ImageObserver.ERROR definition code for java.awt.image.ImageObserver.ERROR , FRAMEBITS sample code for java.awt.image.ImageObserver.FRAMEBITS definition code for java.awt.image.ImageObserver.FRAMEBITS , HEIGHT sample code for java.awt.image.ImageObserver.HEIGHT definition code for java.awt.image.ImageObserver.HEIGHT , PROPERTIES sample code for java.awt.image.ImageObserver.PROPERTIES definition code for java.awt.image.ImageObserver.PROPERTIES , SOMEBITS sample code for java.awt.image.ImageObserver.SOMEBITS definition code for java.awt.image.ImageObserver.SOMEBITS , WIDTH sample code for java.awt.image.ImageObserver.WIDTH definition code for java.awt.image.ImageObserver.WIDTH
 
Constructor Summary
JRootPane sample code for javax.swing.JRootPane.JRootPane() definition code for javax.swing.JRootPane.JRootPane() ()
          Creates a JRootPane, setting up its glassPane, layeredPane, and contentPane.
 
Method Summary
protected  void addImpl sample code for javax.swing.JRootPane.addImpl(java.awt.Component, java.lang.Object, int) definition code for javax.swing.JRootPane.addImpl(java.awt.Component, java.lang.Object, int) (Component sample code for java.awt.Component definition code for java.awt.Component  comp, Object sample code for java.lang.Object definition code for java.lang.Object  constraints, int index)
          Overridden to enforce the position of the glass component as the zero child.
 void addNotify sample code for javax.swing.JRootPane.addNotify() definition code for javax.swing.JRootPane.addNotify() ()
          Register ourselves with the SystemEventQueueUtils as a new root pane.
protected  Container sample code for java.awt.Container definition code for java.awt.Container createContentPane sample code for javax.swing.JRootPane.createContentPane() definition code for javax.swing.JRootPane.createContentPane() ()
          Called by the constructor methods to create the default contentPane.
protected  Component sample code for java.awt.Component definition code for java.awt.Component createGlassPane sample code for javax.swing.JRootPane.createGlassPane() definition code for javax.swing.JRootPane.createGlassPane() ()
          Called by the constructor methods to create the default glassPane.
protected  JLayeredPane sample code for javax.swing.JLayeredPane definition code for javax.swing.JLayeredPane createLayeredPane sample code for javax.swing.JRootPane.createLayeredPane() definition code for javax.swing.JRootPane.createLayeredPane() ()
          Called by the constructor methods to create the default layeredPane.
protected  LayoutManager sample code for java.awt.LayoutManager definition code for java.awt.LayoutManager createRootLayout sample code for javax.swing.JRootPane.createRootLayout() definition code for javax.swing.JRootPane.createRootLayout() ()
          Called by the constructor methods to create the default layoutManager.
 AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext getAccessibleContext sample code for javax.swing.JRootPane.getAccessibleContext() definition code for javax.swing.JRootPane.getAccessibleContext() ()
          Gets the AccessibleContext associated with this JRootPane.
 Container sample code for java.awt.Container definition code for java.awt.Container getContentPane sample code for javax.swing.JRootPane.getContentPane() definition code for javax.swing.JRootPane.getContentPane() ()
          Returns the content pane -- the container that holds the components parented by the root pane.
 JButton sample code for javax.swing.JButton definition code for javax.swing.JButton getDefaultButton sample code for javax.swing.JRootPane.getDefaultButton() definition code for javax.swing.JRootPane.getDefaultButton() ()
          Returns the value of the defaultButton property.
 Component sample code for java.awt.Component definition code for java.awt.Component getGlassPane sample code for javax.swing.JRootPane.getGlassPane() definition code for javax.swing.JRootPane.getGlassPane() ()
          Returns the current glass pane for this JRootPane.
 JMenuBar sample code for javax.swing.JMenuBar definition code for javax.swing.JMenuBar getJMenuBar sample code for javax.swing.JRootPane.getJMenuBar() definition code for javax.swing.JRootPane.getJMenuBar() ()
          Returns the menu bar from the layered pane.
 JLayeredPane sample code for javax.swing.JLayeredPane definition code for javax.swing.JLayeredPane getLayeredPane sample code for javax.swing.JRootPane.getLayeredPane() definition code for javax.swing.JRootPane.getLayeredPane() ()
          Gets the layered pane used by the root pane.
 JMenuBar sample code for javax.swing.JMenuBar definition code for javax.swing.JMenuBar getMenuBar sample code for javax.swing.JRootPane.getMenuBar() definition code for javax.swing.JRootPane.getMenuBar() ()
          Deprecated. As of Swing version 1.0.3 replaced by getJMenubar().
 RootPaneUI sample code for javax.swing.plaf.RootPaneUI definition code for javax.swing.plaf.RootPaneUI getUI sample code for javax.swing.JRootPane.getUI() definition code for javax.swing.JRootPane.getUI() ()
          Returns the L&F object that renders this component.
 String sample code for java.lang.String definition code for java.lang.String getUIClassID sample code for javax.swing.JRootPane.getUIClassID() definition code for javax.swing.JRootPane.getUIClassID() ()
          Returns a string that specifies the name of the L&F class that renders this component.
 int getWindowDecorationStyle sample code for javax.swing.JRootPane.getWindowDecorationStyle() definition code for javax.swing.JRootPane.getWindowDecorationStyle() ()
          Returns a constant identifying the type of Window decorations the JRootPane is providing.
 boolean isOptimizedDrawingEnabled sample code for javax.swing.JRootPane.isOptimizedDrawingEnabled() definition code for javax.swing.JRootPane.isOptimizedDrawingEnabled() ()
          The glassPane and contentPane have the same bounds, which means JRootPane does not tiles its children and this should return false.
 boolean isValidateRoot sample code for javax.swing.JRootPane.isValidateRoot() definition code for javax.swing.JRootPane.isValidateRoot() ()
          If a descendant of this JRootPane calls revalidate, validate from here on down.
protected  String sample code for java.lang.String definition code for java.lang.String paramString sample code for javax.swing.JRootPane.paramString() definition code for javax.swing.JRootPane.paramString() ()
          Returns a string representation of this JRootPane.
 void removeNotify sample code for javax.swing.JRootPane.removeNotify() definition code for javax.swing.JRootPane.removeNotify() ()
          Unregister ourselves from SystemEventQueueUtils.
 void setContentPane sample code for javax.swing.JRootPane.setContentPane(java.awt.Container) definition code for javax.swing.JRootPane.setContentPane(java.awt.Container) (Container sample code for java.awt.Container definition code for java.awt.Container  content)
          Sets the content pane -- the container that holds the components parented by the root pane.
 void setDefaultButton sample code for javax.swing.JRootPane.setDefaultButton(javax.swing.JButton) definition code for javax.swing.JRootPane.setDefaultButton(javax.swing.JButton) (JButton sample code for javax.swing.JButton definition code for javax.swing.JButton  defaultButton)
          Sets the defaultButton property, which determines the current default button for this JRootPane.
 void setGlassPane sample code for javax.swing.JRootPane.setGlassPane(java.awt.Component) definition code for javax.swing.JRootPane.setGlassPane(java.awt.Component) (Component sample code for java.awt.Component definition code for java.awt.Component  glass)
          Sets a specified Component to be the glass pane for this root pane.
 void setJMenuBar sample code for javax.swing.JRootPane.setJMenuBar(javax.swing.JMenuBar) definition code for javax.swing.JRootPane.setJMenuBar(javax.swing.JMenuBar) (JMenuBar sample code for javax.swing.JMenuBar definition code for javax.swing.JMenuBar  menu)
          Adds or changes the menu bar used in the layered pane.
 void setLayeredPane sample code for javax.swing.JRootPane.setLayeredPane(javax.swing.JLayeredPane) definition code for javax.swing.JRootPane.setLayeredPane(javax.swing.JLayeredPane) (JLayeredPane sample code for javax.swing.JLayeredPane definition code for javax.swing.JLayeredPane  layered)
          Sets the layered pane for the root pane.
 void setMenuBar sample code for javax.swing.JRootPane.setMenuBar(javax.swing.JMenuBar) definition code for javax.swing.JRootPane.setMenuBar(javax.swing.JMenuBar) (JMenuBar sample code for javax.swing.JMenuBar definition code for javax.swing.JMenuBar  menu)
          Deprecated. As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar menu).
 void setUI sample code for javax.swing.JRootPane.setUI(javax.swing.plaf.RootPaneUI) definition code for javax.swing.JRootPane.setUI(javax.swing.plaf.RootPaneUI) (RootPaneUI sample code for javax.swing.plaf.RootPaneUI definition code for javax.swing.plaf.RootPaneUI  ui)
          Sets the L&F object that renders this component.
 void setWindowDecorationStyle sample code for javax.swing.JRootPane.setWindowDecorationStyle(int) definition code for javax.swing.JRootPane.setWindowDecorationStyle(int) (int windowDecorationStyle)
          Sets the type of Window decorations (such as borders, widgets for closing a Window, title ...) the JRootPane should provide.
 void updateUI sample code for javax.swing.JRootPane.updateUI() definition code for javax.swing.JRootPane.updateUI() ()
          Resets the UI property to a value from the current look and feel.
 
Methods inherited from class javax.swing.JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent
addAncestorListener sample code for javax.swing.JComponent.addAncestorListener(javax.swing.event.AncestorListener) definition code for javax.swing.JComponent.addAncestorListener(javax.swing.event.AncestorListener) , addVetoableChangeListener sample code for javax.swing.JComponent.addVetoableChangeListener(java.beans.VetoableChangeListener) definition code for javax.swing.JComponent.addVetoableChangeListener(java.beans.VetoableChangeListener) , computeVisibleRect sample code for javax.swing.JComponent.computeVisibleRect(java.awt.Rectangle) definition code for javax.swing.JComponent.computeVisibleRect(java.awt.Rectangle) , contains sample code for javax.swing.JComponent.contains(int, int) definition code for javax.swing.JComponent.contains(int, int) , createToolTip sample code for javax.swing.JComponent.createToolTip() definition code for javax.swing.JComponent.createToolTip() , disable sample code for javax.swing.JComponent.disable() definition code for javax.swing.JComponent.disable() , enable sample code for javax.swing.JComponent.enable() definition code for javax.swing.JComponent.enable() , firePropertyChange sample code for javax.swing.JComponent.firePropertyChange(java.lang.String, boolean, boolean) definition code for javax.swing.JComponent.firePropertyChange(java.lang.String, boolean, boolean) , firePropertyChange sample code for javax.swing.JComponent.firePropertyChange(java.lang.String, char, char) definition code for javax.swing.JComponent.firePropertyChange(java.lang.String, char, char) , firePropertyChange sample code for javax.swing.JComponent.firePropertyChange(java.lang.String, int, int) definition code for javax.swing.JComponent.firePropertyChange(java.lang.String, int, int) , fireVetoableChange sample code for javax.swing.JComponent.fireVetoableChange(java.lang.String, java.lang.Object, java.lang.Object) definition code for javax.swing.JComponent.fireVetoableChange(java.lang.String, java.lang.Object, java.lang.Object) , getActionForKeyStroke sample code for javax.swing.JComponent.getActionForKeyStroke(javax.swing.KeyStroke) definition code for javax.swing.JComponent.getActionForKeyStroke(javax.swing.KeyStroke) , getActionMap sample code for javax.swing.JComponent.getActionMap() definition code for javax.swing.JComponent.getActionMap() , getAlignmentX sample code for javax.swing.JComponent.getAlignmentX() definition code for javax.swing.JComponent.getAlignmentX() , getAlignmentY sample code for javax.swing.JComponent.getAlignmentY() definition code for javax.swing.JComponent.getAlignmentY() , getAncestorListeners sample code for javax.swing.JComponent.getAncestorListeners() definition code for javax.swing.JComponent.getAncestorListeners() , getAutoscrolls sample code for javax.swing.JComponent.getAutoscrolls() definition code for javax.swing.JComponent.getAutoscrolls() , getBorder sample code for javax.swing.JComponent.getBorder() definition code for javax.swing.JComponent.getBorder() , getBounds sample code for javax.swing.JComponent.getBounds(java.awt.Rectangle) definition code for javax.swing.JComponent.getBounds(java.awt.Rectangle) , getClientProperty sample code for javax.swing.JComponent.getClientProperty(java.lang.Object) definition code for javax.swing.JComponent.getClientProperty(java.lang.Object) , getComponentGraphics sample code for javax.swing.JComponent.getComponentGraphics(java.awt.Graphics) definition code for javax.swing.JComponent.getComponentGraphics(java.awt.Graphics) , getComponentPopupMenu sample code for javax.swing.JComponent.getComponentPopupMenu() definition code for javax.swing.JComponent.getComponentPopupMenu() , getConditionForKeyStroke sample code for javax.swing.JComponent.getConditionForKeyStroke(javax.swing.KeyStroke) definition code for javax.swing.JComponent.getConditionForKeyStroke(javax.swing.KeyStroke) , getDebugGraphicsOptions sample code for javax.swing.JComponent.getDebugGraphicsOptions() definition code for javax.swing.JComponent.getDebugGraphicsOptions() , getDefaultLocale sample code for javax.swing.JComponent.getDefaultLocale()