javax.swing
Class JSplitPane

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.JSplitPane
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 JSplitPane
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

JSplitPane is used to divide two (and only two) Components. The two Components are graphically divided based on the look and feel implementation, and the two Components can then be interactively resized by the user. Information on using JSplitPane is in How to Use Split Panes in The Java Tutorial.

The two Components in a split pane can be aligned left to right using JSplitPane.HORIZONTAL_SPLIT, or top to bottom using JSplitPane.VERTICAL_SPLIT. The preferred way to change the size of the Components is to invoke setDividerLocation where location is either the new x or y position, depending on the orientation of the JSplitPane.

To resize the Components to their preferred sizes invoke resetToPreferredSizes.

When the user is resizing the Components the minimum size of the Components is used to determine the maximum/minimum position the Components can be set to. If the minimum size of the two components is greater than the size of the split pane the divider will not allow you to resize it. To alter the minimum size of a JComponent, see JComponent.setMinimumSize(java.awt.Dimension) sample code for javax.swing.JComponent.setMinimumSize(java.awt.Dimension) definition code for javax.swing.JComponent.setMinimumSize(java.awt.Dimension) .

When the user resizes the split pane the new space is distributed between the two components based on the resizeWeight property. A value of 0, the default, indicates the right/bottom component gets all the space, where as a value of 1 indicates the left/top component gets all the space.

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:
setDividerLocation(double) sample code for javax.swing.JSplitPane.setDividerLocation(double) definition code for javax.swing.JSplitPane.setDividerLocation(double) , resetToPreferredSizes() sample code for javax.swing.JSplitPane.resetToPreferredSizes() definition code for javax.swing.JSplitPane.resetToPreferredSizes() , Serialized Form

Nested Class Summary
protected  class JSplitPane.AccessibleJSplitPane sample code for javax.swing.JSplitPane.AccessibleJSplitPane definition code for javax.swing.JSplitPane.AccessibleJSplitPane
          This class implements accessibility support for the JSplitPane class.
 
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 String sample code for java.lang.String definition code for java.lang.String BOTTOM sample code for javax.swing.JSplitPane.BOTTOM definition code for javax.swing.JSplitPane.BOTTOM
          Used to add a Component below the other Component.
static String sample code for java.lang.String definition code for java.lang.String CONTINUOUS_LAYOUT_PROPERTY sample code for javax.swing.JSplitPane.CONTINUOUS_LAYOUT_PROPERTY definition code for javax.swing.JSplitPane.CONTINUOUS_LAYOUT_PROPERTY
          Bound property name for continuousLayout.
protected  boolean continuousLayout sample code for javax.swing.JSplitPane.continuousLayout definition code for javax.swing.JSplitPane.continuousLayout
          Whether or not the views are continuously redisplayed while resizing.
static String sample code for java.lang.String definition code for java.lang.String DIVIDER sample code for javax.swing.JSplitPane.DIVIDER definition code for javax.swing.JSplitPane.DIVIDER
          Used to add a Component that will represent the divider.
static String sample code for java.lang.String definition code for java.lang.String DIVIDER_LOCATION_PROPERTY sample code for javax.swing.JSplitPane.DIVIDER_LOCATION_PROPERTY definition code for javax.swing.JSplitPane.DIVIDER_LOCATION_PROPERTY
          Bound property for the dividerLocation.
static String sample code for java.lang.String definition code for java.lang.String DIVIDER_SIZE_PROPERTY sample code for javax.swing.JSplitPane.DIVIDER_SIZE_PROPERTY definition code for javax.swing.JSplitPane.DIVIDER_SIZE_PROPERTY
          Bound property name for border.
protected  int dividerSize sample code for javax.swing.JSplitPane.dividerSize definition code for javax.swing.JSplitPane.dividerSize
          Size of the divider.
static int HORIZONTAL_SPLIT sample code for javax.swing.JSplitPane.HORIZONTAL_SPLIT definition code for javax.swing.JSplitPane.HORIZONTAL_SPLIT
          Horizontal split indicates the Components are split along the x axis.
static String sample code for java.lang.String definition code for java.lang.String LAST_DIVIDER_LOCATION_PROPERTY sample code for javax.swing.JSplitPane.LAST_DIVIDER_LOCATION_PROPERTY definition code for javax.swing.JSplitPane.LAST_DIVIDER_LOCATION_PROPERTY
          Bound property for lastLocation.
protected  int lastDividerLocation sample code for javax.swing.JSplitPane.lastDividerLocation definition code for javax.swing.JSplitPane.lastDividerLocation
          Previous location of the split pane.
static String sample code for java.lang.String definition code for java.lang.String LEFT sample code for javax.swing.JSplitPane.LEFT definition code for javax.swing.JSplitPane.LEFT
          Used to add a Component to the left of the other Component.
protected  Component sample code for java.awt.Component definition code for java.awt.Component leftComponent sample code for javax.swing.JSplitPane.leftComponent definition code for javax.swing.JSplitPane.leftComponent
          The left or top component.
static String sample code for java.lang.String definition code for java.lang.String ONE_TOUCH_EXPANDABLE_PROPERTY sample code for javax.swing.JSplitPane.ONE_TOUCH_EXPANDABLE_PROPERTY definition code for javax.swing.JSplitPane.ONE_TOUCH_EXPANDABLE_PROPERTY
          Bound property for oneTouchExpandable.
protected  boolean oneTouchExpandable sample code for javax.swing.JSplitPane.oneTouchExpandable definition code for javax.swing.JSplitPane.oneTouchExpandable
          Is a little widget provided to quickly expand/collapse the split pane?
protected  int orientation sample code for javax.swing.JSplitPane.orientation definition code for javax.swing.JSplitPane.orientation
          How the views are split.
static String sample code for java.lang.String definition code for java.lang.String ORIENTATION_PROPERTY sample code for javax.swing.JSplitPane.ORIENTATION_PROPERTY definition code for javax.swing.JSplitPane.ORIENTATION_PROPERTY
          Bound property name for orientation (horizontal or vertical).
static String sample code for java.lang.String definition code for java.lang.String RESIZE_WEIGHT_PROPERTY sample code for javax.swing.JSplitPane.RESIZE_WEIGHT_PROPERTY definition code for javax.swing.JSplitPane.RESIZE_WEIGHT_PROPERTY
          Bound property for weight.
static String sample code for java.lang.String definition code for java.lang.String RIGHT sample code for javax.swing.JSplitPane.RIGHT definition code for javax.swing.JSplitPane.RIGHT
          Used to add a Component to the right of the other Component.
protected  Component sample code for java.awt.Component definition code for java.awt.Component rightComponent sample code for javax.swing.JSplitPane.rightComponent definition code for javax.swing.JSplitPane.rightComponent
          The right or bottom component.
static String sample code for java.lang.String definition code for java.lang.String TOP sample code for javax.swing.JSplitPane.TOP definition code for javax.swing.JSplitPane.TOP
          Used to add a Component above the other Component.
static int VERTICAL_SPLIT sample code for javax.swing.JSplitPane.VERTICAL_SPLIT definition code for javax.swing.JSplitPane.VERTICAL_SPLIT
          Vertical split indicates the Components are split along the y axis.
 
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
JSplitPane sample code for javax.swing.JSplitPane.JSplitPane() definition code for javax.swing.JSplitPane.JSplitPane() ()
          Creates a new JSplitPane configured to arrange the child components side-by-side horizontally with no continuous layout, using two buttons for the components.
JSplitPane sample code for javax.swing.JSplitPane.JSplitPane(int) definition code for javax.swing.JSplitPane.JSplitPane(int) (int newOrientation)
          Creates a new JSplitPane configured with the specified orientation and no continuous layout.
JSplitPane sample code for javax.swing.JSplitPane.JSplitPane(int, boolean) definition code for javax.swing.JSplitPane.JSplitPane(int, boolean) (int newOrientation, boolean newContinuousLayout)
          Creates a new JSplitPane with the specified orientation and redrawing style.
JSplitPane sample code for javax.swing.JSplitPane.JSplitPane(int, boolean, java.awt.Component, java.awt.Component) definition code for javax.swing.JSplitPane.JSplitPane(int, boolean, java.awt.Component, java.awt.Component) (int newOrientation, boolean newContinuousLayout, Component sample code for java.awt.Component definition code for java.awt.Component  newLeftComponent, Component sample code for java.awt.Component definition code for java.awt.Component  newRightComponent)
          Creates a new JSplitPane with the specified orientation and redrawing style, and with the specified components.
JSplitPane sample code for javax.swing.JSplitPane.JSplitPane(int, java.awt.Component, java.awt.Component) definition code for javax.swing.JSplitPane.JSplitPane(int, java.awt.Component, java.awt.Component) (int newOrientation, Component sample code for java.awt.Component definition code for java.awt.Component  newLeftComponent, Component sample code for java.awt.Component definition code for java.awt.Component  newRightComponent)
          Creates a new JSplitPane with the specified orientation and with the specified components that do not do continuous redrawing.
 
Method Summary
protected  void addImpl sample code for javax.swing.JSplitPane.addImpl(java.awt.Component, java.lang.Object, int) definition code for javax.swing.JSplitPane.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)
          Adds the specified component to this split pane.
 AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext getAccessibleContext sample code for javax.swing.JSplitPane.getAccessibleContext() definition code for javax.swing.JSplitPane.getAccessibleContext() ()
          Gets the AccessibleContext associated with this JSplitPane.
 Component sample code for java.awt.Component definition code for java.awt.Component getBottomComponent sample code for javax.swing.JSplitPane.getBottomComponent() definition code for javax.swing.JSplitPane.getBottomComponent() ()
          Returns the component below, or to the right of the divider.
 int getDividerLocation sample code for javax.swing.JSplitPane.getDividerLocation() definition code for javax.swing.JSplitPane.getDividerLocation() ()
          Returns the last value passed to setDividerLocation.
 int getDividerSize sample code for javax.swing.JSplitPane.getDividerSize() definition code for javax.swing.JSplitPane.getDividerSize() ()
          Returns the size of the divider.
 int getLastDividerLocation sample code for javax.swing.JSplitPane.getLastDividerLocation() definition code for javax.swing.JSplitPane.getLastDividerLocation() ()
          Returns the last location the divider was at.
 Component sample code for java.awt.Component definition code for java.awt.Component getLeftComponent sample code for javax.swing.JSplitPane.getLeftComponent() definition code for javax.swing.JSplitPane.getLeftComponent() ()
          Returns the component to the left (or above) the divider.
 int getMaximumDividerLocation sample code for javax.swing.JSplitPane.getMaximumDividerLocation() definition code for javax.swing.JSplitPane.getMaximumDividerLocation() ()
          Returns the maximum location of the divider from the look and feel implementation.
 int getMinimumDividerLocation sample code for javax.swing.JSplitPane.getMinimumDividerLocation() definition code for javax.swing.JSplitPane.getMinimumDividerLocation() ()
          Returns the minimum location of the divider from the look and feel implementation.
 int getOrientation sample code for javax.swing.JSplitPane.getOrientation() definition code for javax.swing.JSplitPane.getOrientation() ()
          Returns the orientation.
 double getResizeWeight sample code for javax.swing.JSplitPane.getResizeWeight() definition code for javax.swing.JSplitPane.getResizeWeight() ()
          Returns the number that determines how extra space is distributed.
 Component sample code for java.awt.Component definition code for java.awt.Component getRightComponent sample code for javax.swing.JSplitPane.getRightComponent() definition code for javax.swing.JSplitPane.getRightComponent() ()
          Returns the component to the right (or below) the divider.
 Component sample code for java.awt.Component definition code for java.awt.Component getTopComponent sample code for javax.swing.JSplitPane.getTopComponent() definition code for javax.swing.JSplitPane.getTopComponent() ()
          Returns the component above, or to the left of the divider.
 SplitPaneUI sample code for javax.swing.plaf.SplitPaneUI definition code for javax.swing.plaf.SplitPaneUI getUI sample code for javax.swing.JSplitPane.getUI() definition code for javax.swing.JSplitPane.getUI() ()
          Returns the SplitPaneUI that is providing the current look and feel.
 String sample code for java.lang.String definition code for java.lang.String getUIClassID sample code for javax.swing.JSplitPane.getUIClassID() definition code for javax.swing.JSplitPane.getUIClassID() ()
          Returns the name of the L&F class that renders this component.
 boolean isContinuousLayout sample code for javax.swing.JSplitPane.isContinuousLayout() definition code for javax.swing.JSplitPane.isContinuousLayout() ()
          Gets the continuousLayout property.
 boolean isOneTouchExpandable sample code for javax.swing.JSplitPane.isOneTouchExpandable() definition code for javax.swing.JSplitPane.isOneTouchExpandable() ()
          Gets the oneTouchExpandable property.
 boolean isValidateRoot sample code for javax.swing.JSplitPane.isValidateRoot() definition code for javax.swing.JSplitPane.isValidateRoot() ()
          Returns true, so that calls to revalidate on any descendant of this JSplitPane will cause a request to be queued that will validate the JSplitPane and all its descendants.
protected  void paintChildren sample code for javax.swing.JSplitPane.paintChildren(java.awt.Graphics) definition code for javax.swing.JSplitPane.paintChildren(java.awt.Graphics) (Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g)
          Subclassed to message the UI with finishedPaintingChildren after super has been messaged, as well as painting the border.
protected  String sample code for java.lang.String definition code for java.lang.String paramString sample code for javax.swing.JSplitPane.paramString() definition code for javax.swing.JSplitPane.paramString() ()
          Returns a string representation of this JSplitPane.
 void remove sample code for javax.swing.JSplitPane.remove(java.awt.Component) definition code for javax.swing.JSplitPane.remove(java.awt.Component) (Component sample code for java.awt.Component definition code for java.awt.Component  component)
          Removes the child component, component from the pane.
 void remove sample code for javax.swing.JSplitPane.remove(int) definition code for javax.swing.JSplitPane.remove(int) (int index)
          Removes the Component at the specified index.
 void removeAll sample code for javax.swing.JSplitPane.removeAll() definition code for javax.swing.JSplitPane.removeAll() ()
          Removes all the child components from the split pane.
 void resetToPreferredSizes sample code for javax.swing.JSplitPane.resetToPreferredSizes() definition code for javax.swing.JSplitPane.resetToPreferredSizes() ()
          Lays out the JSplitPane layout based on the preferred size of the children components.
 void setBottomComponent sample code for javax.swing.JSplitPane.setBottomComponent(java.awt.Component) definition code for javax.swing.JSplitPane.setBottomComponent(java.awt.Component) (Component sample code for java.awt.Component definition code for java.awt.Component  comp)
          Sets the component below, or to the right of the divider.
 void setContinuousLayout sample code for javax.swing.JSplitPane.setContinuousLayout(boolean) definition code for javax.swing.JSplitPane.setContinuousLayout(boolean) (boolean newContinuousLayout)
          Sets the value of the continuousLayout property, which must be true for the child components to be continuously redisplayed and laid out during user intervention.
 void setDividerLocation sample code for javax.swing.JSplitPane.setDividerLocation(double) definition code for javax.swing.JSplitPane.setDividerLocation(double) (double proportionalLocation)
          Sets the divider location as a percentage of the JSplitPane's size.
 void setDividerLocation sample code for javax.swing.JSplitPane.setDividerLocation(int) definition code for javax.swing.JSplitPane.setDividerLocation(int) (int location)
          Sets the location of the divider.
 void setDividerSize sample code for javax.swing.JSplitPane.setDividerSize(int) definition code for javax.swing.JSplitPane.setDividerSize(int) (int newSize)
          Sets the size of the divider.
 void setLastDividerLocation sample code for javax.swing.JSplitPane.setLastDividerLocation(int) definition code for javax.swing.JSplitPane.setLastDividerLocation(int) (int newLastLocation)
          Sets the last location the divider was at to newLastLocation.
 void setLeftComponent sample code for javax.swing.JSplitPane.setLeftComponent(java.awt.Component) definition code for javax.swing.JSplitPane.setLeftComponent(java.awt.Component) (Component sample code for java.awt.Component definition code for java.awt.Component  comp)
          Sets the component to the left (or above) the divider.
 void setOneTouchExpandable sample code for javax.swing.JSplitPane.setOneTouchExpandable(boolean) definition code for javax.swing.JSplitPane.setOneTouchExpandable(boolean) (boolean newValue)
          Sets the value of the oneTouchExpandable property, which must be true for the JSplitPane to provide a UI widget on the divider to quickly expand/collapse the divider.
 void setOrientation sample code for javax.swing.JSplitPane.setOrientation(int) definition code for javax.swing.JSplitPane.setOrientation(int) (int orientation)
          Sets the orientation, or how the splitter is divided.
 void setResizeWeight sample code for javax.swing.JSplitPane.setResizeWeight(double) definition code for javax.swing.JSplitPane.setResizeWeight(double) (double value)
          Specifies how to distribute extra space when the size of the split pane changes.
 void setRightComponent sample code for javax.swing.JSplitPane.setRightComponent(java.awt.Component) definition code for javax.swing.JSplitPane.setRightComponent(java.awt.Component) (Component sample code for java.awt.Component definition code for java.awt.Component  comp)
          Sets the component to the right (or below) the divider.
 void setTopComponent sample code for javax.swing.JSplitPane.setTopComponent(java.awt.Component) definition code for javax.swing.JSplitPane.setTopComponent(java.awt.Component) (Component sample code for java.awt.Component definition code for java.awt.Component  comp)
          Sets the component above, or to the left of the divider.
 void setUI sample code for javax.swing.JSplitPane.setUI(javax.swing.plaf.SplitPaneUI) definition code for javax.swing.JSplitPane.setUI(javax.swing.plaf.SplitPaneUI) (SplitPaneUI sample code for javax.swing.plaf.SplitPaneUI definition code for javax.swing.plaf.SplitPaneUI  ui)
          Sets the L&F object that renders this component.
 void updateUI sample code for javax.swing.JSplitPane.updateUI() definition code for javax.swing.JSplitPane.updateUI() ()
          Notification from the UIManager that the L&F has changed.
 
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) , addNotify sample code for javax.swing.JComponent.addNotify() definition code for javax.swing.JComponent.addNotify() , 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() definition code for javax.swing.JComponent.getDefaultLocale() , getFontMetrics sample code for javax.swing.JComponent.getFontMetrics(java.awt.Font) definition code for javax.swing.JComponent.getFontMetrics(java.awt.Font) , getGraphics sample code for javax.swing.JComponent.getGraphics() definition code for javax.swing.JComponent.getGraphics() , getHeight sample code for javax.swing.JComponent.getHeight() definition code for javax.swing.JComponent.getHeight() , getInheritsPopupMenu sample code for javax.swing.JComponent.getInheritsPopupMenu() definition code for javax.swing.JComponent.getInheritsPopupMenu() , getInputMap sample code for javax.swing.JComponent.getInputMap() definition code for javax.swing.JComponent.getInputMap() , getInputMap sample code for javax.swing.JComponent.getInputMap(int) definition code for javax.swing.JComponent.getInputMap(int) , getInputVerifier sample code for javax.swing.JComponent.getInputVerifier() definition code for javax.swing.JComponent.getInputVerifier() , getInsets sample code for javax.swing.JComponent.getInsets() definition code for javax.swing.JComponent.getInsets() , getInsets sample code for javax.swing.JComponent.getInsets(java.awt.Insets) definition code for javax.swing.JComponent.getInsets(java.awt.Insets) , getListeners sample code for javax.swing.JComponent.getListeners(java.lang.Class) definition code for javax.swing.JComponent.getListeners(java.lang.Class) , getLocation sample code for javax.swing.JComponent.getLocation(java.awt.Point) definition code for javax.swing.JComponent.getLocation(java.awt.Point) , getMaximumSize sample code for javax.swing.JComponent.getMaximumSize() definition code for javax.swing.JComponent.getMaximumSize() , getMinimumSize sample code for javax.swing.JComponent.getMinimumSize() definition code for javax.swing.JComponent.getMinimumSize() , getNextFocusableComponent sample code for javax.swing.JComponent.getNextFocusableComponent() definition code for javax.swing.JComponent.getNextFocusableComponent() , getPopupLocation sample code for javax.swing.JComponent.getPopupLocation(java.awt.event.MouseEvent) definition code for javax.swing.JComponent.getPopupLocation(java.awt.event.MouseEvent) , getPreferredSize sample code for javax.swing.JComponent.getPreferredSize() definition code for javax.swing.JComponent.getPreferredSize() , getRegisteredKeyStrokes sample code for javax.swing.JComponent.getRegisteredKeyStrokes() definition code for javax.swing.JComponent.getRegisteredKeyStrokes() , getRootPane sample code for javax.swing.JComponent.getRootPane() definition code for javax.swing.JComponent.getRootPane() , getSize sample code for javax.swing.JComponent.getSize(java.awt.Dimension) definition code for javax.swing.JComponent.getSize(java.awt.Dimension) , getToolTipLocation sample code for javax.swing.JComponent.getToolTipLocation(java.awt.event.MouseEvent) definition code for javax.swing.JComponent.getToolTipLocation(java.awt.event.MouseEvent) , getToolTipText sample code for javax.swing.JComponent.getToolTipText() definition code for javax.swing.JComponent.getToolTipText() , getToolTipText sample code for javax.swing.JComponent.getToolTipText(java.awt.event.MouseEvent) definition code for javax.swing.JComponent.getToolTipText(java.awt.event.MouseEvent) , getTopLevelAncestor sample code for javax.swing.JComponent.getTopLevelAncestor() definition code for javax.swing.JComponent.getTopLevelAncestor() , getTransferHandler sample code for javax.swing.JComponent.getTransferHandler() definition code for javax.swing.JComponent.getTransferHandler() , getVerifyInputWhenFocusTarget sample code for javax.swing.JComponent.getVerifyInputWhenFocusTarget() definition code for javax.swing.JComponent.getVerifyInputWhenFocusTarget() , getVetoableChangeListeners sample code for javax.swing.JComponent.getVetoableChangeListeners() definition code for javax.swing.JComponent.getVetoableChangeListeners() , getVisibleRect sample code for javax.swing.JComponent.getVisibleRect() definition code for javax.swing.JComponent.getVisibleRect() , getWidth sample code for javax.swing.JComponent.getWidth() definition code for javax.swing.JComponent.getWidth() , getX sample code for javax.swing.JComponent.getX() definition code for javax.swing.JComponent.getX() , getY sample code for javax.swing.JComponent.getY() definition code for javax.swing.JComponent.getY() , grabFocus sample code for javax.swing.JComponent.grabFocus() definition code for javax.swing.JComponent.grabFocus() , isDoubleBuffered sample code for javax.swing.JComponent.isDoubleBuffered() definition code for javax.swing.JComponent.isDoubleBuffered() , isLightweightComponent sample code for javax.swing.JComponent.isLightweightComponent(java.awt.Component) definition code for javax.swing.JComponent.isLightweightComponent(java.awt.Component) , isManagingFocus sample code for javax.swing.JComponent.isManagingFocus() definition code for javax.swing.JComponent.isManagingFocus() , isOpaque sample code for javax.swing.JComponent.isOpaque() definition code for javax.swing.JComponent.isOpaque() , isOptimizedDrawingEnabled sample code for javax.swing.JComponent.isOptimizedDrawingEnabled() definition code for javax.swing.JComponent.isOptimizedDrawingEnabled() , isPaintingTile sample code for javax.swing.JComponent.isPaintingTile() definition code for javax.swing.JComponent.isPaintingTile() , isRequestFocusEnabled sample code for javax.swing.JComponent.isRequestFocusEnabled() definition code for javax.swing.JComponent.isRequestFocusEnabled() , paint sample code for javax.swing.JComponent.paint(java.awt.Graphics) definition code for javax.swing.JComponent.paint(java.awt.Graphics) , paintBorder sample code for javax.swing.JComponent.paintBorder(java.awt.Graphics) definition code for javax.swing.JComponent.paintBorder(java.awt.Graphics) , paintComponent sample code for javax.swing.JComponent.paintComponent(java.awt.Graphics) definition code for javax.swing.JComponent.paintComponent(java.awt.Graphics) , paintImmediately sample code for javax.swing.JComponent.paintImmediately(int, int, int, int) definition code for javax.swing.JComponent.paintImmediately(int, int, int, int) , paintImmediately sample code for javax.swing.JComponent.paintImmediately(java.awt.Rectangle) definition code for javax.swing.JComponent.paintImmediately(java.awt.Rectangle) , print sample code for javax.swing.JComponent.print(java.awt.Graphics) definition code for javax.swing.JComponent.print(java.awt.Graphics) , printAll sample code for javax.swing.JComponent.printAll(java.awt.Graphics) definition code for javax.swing.JComponent.printAll(java.awt.Graphics) , printBorder sample code for javax.swing.JComponent.printBorder(java.awt.Graphics) definition code for javax.swing.JComponent.printBorder(java.awt.Graphics) , printChildren sample code for javax.swing.JComponent.printChildren(java.awt.Graphics) definition code for javax.swing.JComponent.printChildren(java.awt.Graphics) , printComponent sample code for javax.swing.JComponent.printComponent(java.awt.Graphics) definition code for javax.swing.JComponent.printComponent(java.awt.Graphics) , processComponentKeyEvent sample code for javax.swing.JComponent.processComponentKeyEvent(java.awt.event.KeyEvent) definition code for javax.swing.JComponent.processComponentKeyEvent(java.awt.event.KeyEvent) , processKeyBinding sample code for javax.swing.JComponent.processKeyBinding(javax.swing.KeyStroke, java.awt.event.KeyEvent, int, boolean) definition code for javax.swing.JComponent.processKeyBinding(javax.swing.KeyStroke, java.awt.event.KeyEvent, int, boolean) , processKeyEvent sample code for javax.swing.JComponent.processKeyEvent(java.awt.event.KeyEvent) definition code for javax.swing.JComponent.processKeyEvent(java.awt.event.KeyEvent) , processMouseEvent sample code for javax.swing.JComponent.processMouseEvent(java.awt.event.MouseEvent) definition code for javax.swing.JComponent.processMouseEvent(java.awt.event.MouseEvent) , processMouseMotionEvent sample code for javax.swing.JComponent.processMouseMotionEvent(java.awt.event.MouseEvent) definition code for javax.swing.JComponent.processMouseMotionEvent(java.awt.event.MouseEvent) , putClientProperty sample code for javax.swing.JComponent.putClientProperty(java.lang.Object, java.lang.Object) definition code for javax.swing.JComponent.putClientProperty(java.lang.Object, java.lang.Object) , registerKeyboardAction sample code for javax.swing.JComponent.registerKeyboardAction(java.awt.event.ActionListener, javax.swing.KeyStroke, int) definition code for javax.swing.JComponent.registerKeyboardAction(java.awt.event.ActionListener, javax.swing.KeyStroke, int) , registerKeyboardAction sample code for javax.swing.JComponent.registerKeyboardAction(java.awt.event.ActionListener, java.lang.String, javax.swing.KeyStroke, int) definition code for javax.swing.JComponent.registerKeyboardAction(java.awt.event.ActionListener, java.lang.String, javax.swing.KeyStroke, int) , removeAncestorListener sample code for javax.swing.JComponent.removeAncestorListener(javax.swing.event.AncestorListener) definition code for javax.swing.JComponent.removeAncestorListener(javax.swing.event.AncestorListener) , removeNotify sample code for javax.swing.JComponent.removeNotify() definition code for javax.swing.JComponent.removeNotify() , removeVetoableChangeListener sample code for javax.swing.JComponent.removeVetoableChangeListener(java.beans.VetoableChangeListener) definition code for javax.swing.JComponent.removeVetoableChangeListener(java.beans.VetoableChangeListener) , repaint sample code for javax.swing.JComponent.repaint(long, int, int, int, int) definition code for javax.swing.JComponent.repaint(long, int, int, int, int) , repaint sample code for javax.swing.JComponent.repaint(java.awt.Rectangle) definition code for javax.swing.JComponent.repaint(java.awt.Rectangle) , requestDefaultFocus sample code for javax.swing.JComponent.requestDefaultFocus() definition code for javax.swing.JComponent.requestDefaultFocus() , requestFocus sample code for javax.swing.JComponent.requestFocus() definition code for javax.swing.JComponent.requestFocus() , requestFocus sample code for javax.swing.JComponent.requestFocus(boolean) definition code for javax.swing.JComponent.requestFocus(boolean) , requestFocusInWindow sample code for javax.swing.JComponent.requestFocusInWindow() definition code for javax.swing.JComponent.requestFocusInWindow() , requestFocusInWindow sample code for javax.swing.JComponent.requestFocusInWindow(boolean) definition code for javax.swing.JComponent.requestFocusInWindow(boolean) , resetKeyboardActions sample code for javax.swing.JComponent.resetKeyboardActions() definition code for javax.swing.JComponent.resetKeyboardActions() , reshape sample code for javax.swing.JComponent.reshape(int, int, int, int) definition code for javax.swing.JComponent.reshape(int, int, int, int) , revalidate sample code for javax.swing.JComponent.revalidate() definition code for javax.swing.JComponent.revalidate() , scrollRectToVisible sample code for javax.swing.JComponent.scrollRectToVisible(java.awt.Rectangle) definition code for javax.swing.JComponent.scrollRectToVisible(java.awt.Rectangle) , setActionMap sample code for javax.swing.JComponent.setActionMap(javax.swing.ActionMap) definition code for javax.swing.JComponent.setActionMap(javax.swing.ActionMap) , setAlignmentX sample code for javax.swing.JComponent.setAlignmentX(float) definition code for javax.swing.JComponent.setAlignmentX(float) , setAlignmentY sample code for javax.swing.JComponent.setAlignmentY(float) definition code for javax.swing.JComponent.setAlignmentY(float) , setAutoscrolls sample code for javax.swing.JComponent.setAutoscrolls(boolean) definition code for javax.swing.JComponent.setAutoscrolls(boolean) , setBackground sample code for javax.swing.JComponent.setBackground(java.awt.Color) definition code for javax.swing.JComponent.setBackground(java.awt.Color) , setBorder sample code for javax.swing.JComponent.setBorder(javax.swing.border.Border) definition code for javax.swing.JComponent.setBorder(javax.swing.border.Border) , setComponentPopupMenu sample code for javax.swing.JComponent.setComponentPopupMenu(javax.swing.JPopupMenu) definition code for javax.swing.JComponent.setComponentPopupMenu(javax.swing.JPopupMenu) , setDebugGraphicsOptions sample code for javax.swing.JComponent.setDebugGraphicsOptions(int) definition code for javax.swing.JComponent.setDebugGraphicsOptions(int) , setDefaultLocale sample code for javax.swing.JComponent.setDefaultLocale(java.util.Locale) definition code for javax.swing.JComponent.setDefaultLocale(java.util.Locale) , setDoubleBuffered sample code for javax.swing.JComponent.setDoubleBuffered(boolean) definition code for javax.swing.JComponent.setDoubleBuffered(boolean) , setEnabled sample code for javax.swing.JComponent.setEnabled(boolean) definition code for javax.swing.JComponent.setEnabled(boolean) , setFocusTraversalKeys sample code for javax.swing.JComponent.setFocusTraversalKeys(int, java.util.Set) definition code for javax.swing.JComponent.setFocusTraversalKeys(int, java.util.Set) , setFont sample code for javax.swing.JComponent.setFont(java.awt.Font) definition code for javax.swing.JComponent.setFont(java.awt.Font) , setForeground sample code for javax.swing.JComponent.setForeground(java.awt.Color) definition code for javax.swing.JComponent.setForeground(java.awt.Color) , setInheritsPopupMenu sample code for javax.swing.JComponent.setInheritsPopupMenu(boolean) definition code for javax.swing.JComponent.setInheritsPopupMenu(boolean) , setInputMap sample code for javax.swing.JComponent.setInputMap(int, javax.swing.InputMap) definition code for javax.swing.JComponent.setInputMap(int, javax.swing.InputMap) , setInputVerifier sample code for javax.swing.JComponent.setInputVerifier(javax.swing.InputVerifier) definition code for javax.swing.JComponent.setInputVerifier(javax.swing.InputVerifier) , setMaximumSize sample code for javax.swing.JComponent.setMaximumSize(java.awt.Dimension) definition code for javax.swing.JComponent.setMaximumSize(java.awt.Dimension) , setMinimumSize sample code for javax.swing.JComponent.setMinimumSize(java.awt.Dimension) definition code for javax.swing.JComponent.setMinimumSize(java.awt.Dimension) , setNextFocusableComponent sample code for javax.swing.JComponent.setNextFocusableComponent(java.awt.Component) definition code for javax.swing.JComponent.setNextFocusableComponent(java.awt.Component) , setOpaque sample code for javax.swing.JComponent.setOpaque(boolean) definition code for javax.swing.JComponent.setOpaque(boolean) , setPreferredSize sample code for javax.swing.JComponent.setPreferredSize(java.awt.Dimension) definition code for javax.swing.JComponent.setPreferredSize(java.awt.Dimension) , setRequestFocusEnabled sample code for javax.swing.JComponent.setRequestFocusEnabled(boolean) definition code for javax.swing.JComponent.setRequestFocusEnabled(boolean) , setToolTipText sample code for javax.swing.JComponent.setToolTipText(java.lang.String) definition code for javax.swing.JComponent.setToolTipText(java.lang.String) , setTransferHandler sample code for javax.swing.JComponent.setTransferHandler(javax.swing.TransferHandler) definition code for javax.swing.JComponent.setTransferHandler(javax.swing.TransferHandler) , setUI sample code for javax.swing.JComponent.setUI(javax.swing.plaf.ComponentUI) definition code for javax.swing.JComponent.setUI(javax.swing.plaf.ComponentUI) , setVerifyInputWhenFocusTarget sample code for javax.swing.JComponent.setVerifyInputWhenFocusTarget(boolean) definition code for javax.swing.JComponent.setVerifyInputWhenFocusTarget(boolean) , setVisible sample code for javax.swing.JComponent.setVisible(boolean) definition code for javax.swing.JComponent.setVisible(boolean) , unregisterKeyboardAction sample code for javax.swing.JComponent.unregisterKeyboardAction(javax.swing.KeyStroke) definition code for javax.swing.JComponent.unregisterKeyboardAction(javax.swing.KeyStroke) , update sample code for javax.swing.JComponent.update(java.awt.Graphics) definition code for javax.swing.JComponent.update(java.awt.Graphics)
 
Methods inherited from class java.awt.Container sample code for java.awt.Container definition code for java.awt.Container
add sample code for java.awt.Container.add(java.awt.Component) definition code for java.awt.Container.add(java.awt.Component) , add sample code for java.awt.Container.add(java.awt.Component, int) definition code for java.awt.Container.add(java.awt.Component, int) , add sample code for java.awt.Container.add(java.awt.Component, java.lang.Object) definition code for java.awt.Container.add(java.awt.Component, java.lang.Object) , add sample code for java.awt.Container.add(java.awt.Component, java.lang.Object, int) definition code for java.awt.Container.add(java.awt.Component, java.lang.Object, int) , add sample code for java.awt.Container.add(java.lang.String, java.awt.Component) definition code for java.awt.Container.add(java.lang.String, java.awt.Component) , addContainerListener sample code for java.awt.Container.addContainerListener(java.awt.event.ContainerListener) definition code for java.awt.Container.addContainerListener(java.awt.event.ContainerListener) , addPropertyChangeListener sample code for java.awt.Container.addPropertyChangeListener(java.beans.PropertyChangeListener) definition code for java.awt.Container.addPropertyChangeListener(java.beans.PropertyChangeListener) , addPropertyChangeListener sample code for java.awt.Container.addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) definition code for java.awt.Container.addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) , applyComponentOrientation sample code for java.awt.Container.applyComponentOrientation(java.awt.ComponentOrientation) definition code for java.awt.Container.applyComponentOrientation(java.awt.ComponentOrientation) , areFocusTraversalKeysSet sample code for java.awt.Container.areFocusTraversalKeysSet(int) definition code for java.awt.Container.areFocusTraversalKeysSet(int) , countComponents sample code for java.awt.Container.countComponents() definition code for java.awt.Container.countComponents() , deliverEvent sample code for java.awt.Container.deliverEvent(java.awt.Event) definition code for java.awt.Container.deliverEvent(java.awt.Event) , doLayout sample code for java.awt.Container.doLayout() definition code for java.awt.Container.doLayout() , findComponentAt sample code for java.awt.Container.findComponentAt(int, int) definition code for java.awt.Container.findComponentAt(int, int) , findComponentAt sample code for java.awt.Container.findComponentAt(java.awt.Point) definition code for java.awt.Container.findComponentAt(java.awt.Point) , getComponent sample code for java.awt.Container.getComponent(int) definition code for java.awt.Container.getComponent(int) , getComponentAt sample code for java.awt.Container.getComponentAt(int, int) definition code for java.awt.Container.getComponentAt(int, int) , getComponentAt sample code for java.awt.Container.getComponentAt(java.awt.Point) definition code for java.awt.Container.getComponentAt(java.awt.Point) , getComponentCount sample code for java.awt.Container.getComponentCount() definition code for java.awt.Container.getComponentCount() , getComponents sample code for java.awt.Container.getComponents() definition code for java.awt.Container.getComponents() , getComponentZOrder sample code for java.awt.Container.getComponentZOrder(java.awt.Component) definition code for java.awt.Container.getComponentZOrder(java.awt.Component) , getContainerListeners sample code for java.awt.Container.getContainerListeners() definition code for java.awt.Container.getContainerListeners() , getFocusTraversalKeys sample code for java.awt.Container.getFocusTraversalKeys(int) definition code for java.awt.Container.getFocusTraversalKeys(int) , getFocusTraversalPolicy sample code for java.awt.Container.getFocusTraversalPolicy() definition code for java.awt.Container.getFocusTraversalPolicy() , getLayout sample code for java.awt.Container.getLayout() definition code for java.awt.Container.getLayout() , getMousePosition sample code for java.awt.Container.getMousePosition(boolean) definition code for java.awt.Container.getMousePosition(boolean) , insets sample code for java.awt.Container.insets() definition code for java.awt.Container.insets() , invalidate sample code for java.awt.Container.invalidate() definition code for java.awt.Container.invalidate() , isAncestorOf sample code for java.awt.Container.isAncestorOf(java.awt.Component) definition code for java.awt.Container.isAncestorOf(java.awt.Component) , isFocusCycleRoot sample code for java.awt.Container.isFocusCycleRoot() definition code for java.awt.Container.isFocusCycleRoot() , isFocusCycleRoot sample code for java.awt.Container.isFocusCycleRoot(java.awt.Container) definition code for java.awt.Container.isFocusCycleRoot(java.awt.Container) , isFocusTraversalPolicyProvider sample code for java.awt.Container.isFocusTraversalPolicyProvider() definition code for java.awt.Container.isFocusTraversalPolicyProvider() , isFocusTraversalPolicySet sample code for java.awt.Container.isFocusTraversalPolicySet() definition code for java.awt.Container.isFocusTraversalPolicySet() , layout sample code for java.awt.Container.layout() definition code for java.awt.Container.layout() , list sample code for java.awt.Container.list(java.io.PrintStream, int) definition code for java.awt.Container.list(java.io.PrintStream, int) , list sample code for java.awt.Container.list(java.io.PrintWriter, int) definition code for java.awt.Container.list(java.io.PrintWriter, int) , locate sample code for java.awt.Container.locate(int, int) definition code for java.awt.Container.locate(int, int) , minimumSize sample code for java.awt.Container.minimumSize() definition code for java.awt.Container.minimumSize() , paintComponents sample code for java.awt.Container.paintComponents(java.awt.Graphics) definition code for java.awt.Container.paintComponents(java.awt.Graphics) , preferredSize sample code for java.awt.Container.preferredSize() definition code for java.awt.Container.preferredSize() , printComponents sample code for java.awt.Container.printComponents(java.awt.Graphics) definition code for java.awt.Container.printComponents(java.awt.Graphics) , processContainerEvent sample code for java.awt.Container.processContainerEvent(java.awt.event.ContainerEvent) definition code for java.awt.Container.processContainerEvent(java.awt.event.ContainerEvent) , processEvent sample code for java.awt.Container.processEvent(java.awt.AWTEvent) definition code for java.awt.Container.processEvent(java.awt.AWTEvent) , removeContainerListener sample code for java.awt.Container.removeContainerListener(java.awt.event.ContainerListener) definition code for java.awt.Container.removeContainerListener(java.awt.event.ContainerListener) , setComponentZOrder sample code for java.awt.Container.setComponentZOrder(java.awt.Component, int) definition code for java.awt.Container.setComponentZOrder(java.awt.Component, int) , setFocusCycleRoot sample code for java.awt.Container.setFocusCycleRoot(boolean) definition code for java.awt.Container.setFocusCycleRoot(boolean) , setFocusTraversalPolicy sample code for java.awt.Container.setFocusTraversalPolicy(java.awt.FocusTraversalPolicy) definition code for java.awt.Container.setFocusTraversalPolicy(java.awt.FocusTraversalPolicy) , setFocusTraversalPolicyProvider sample code for java.awt.Container.setFocusTraversalPolicyProvider(boolean) definition code for java.awt.Container.setFocusTraversalPolicyProvider(boolean) , setLayout sample code for java.awt.Container.setLayout(java.awt.LayoutManager) definition code for java.awt.Container.setLayout(java.awt.LayoutManager) , transferFocusBackward sample code for java.awt.Container.transferFocusBackward() definition code for java.awt.Container.transferFocusBackward() , transferFocusDownCycle sample code for java.awt.Container.transferFocusDownCycle() definition code for java.awt.Container.transferFocusDownCycle() , validate sample code for java.awt.Container.validate() definition code for java.awt.Container.validate() , validateTree sample code for java.awt.Container.validateTree() definition code for java.awt.Container.validateTree()
 
Methods inherited from class java.awt.Component sample code for java.awt.Component definition code for java.awt.Component
action sample code for java.awt.Component.action(java.awt.Event, java.lang.Object) definition code for java.awt.Component.action(java.awt.Event, java.lang.Object) , add sample code for java.awt.Component.add(java.awt.PopupMenu) definition code for java.awt.Component.add(java.awt.PopupMenu) , addComponentListener sample code for java.awt.Component.addComponentListener(java.awt.event.ComponentListener) definition code for java.awt.Component.addComponentListener(java.awt.event.ComponentListener) , addFocusListener sample code for java.awt.Component.addFocusListener(java.awt.event.FocusListener) definition code for java.awt.Component.addFocusListener(java.awt.event.FocusListener) , addHierarchyBoundsListener sample code for java.awt.Component.addHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener) definition code for java.awt.Component.addHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener) , addHierarchyListener sample code for java.awt.Component.addHierarchyListener(java.awt.event.HierarchyListener) definition code for java.awt.Component.addHierarchyListener(java.awt.event.HierarchyListener) , addInputMethodListener sample code for java.awt.Component.addInputMethodListener(java.awt.event.InputMethodListener) definition code for java.awt.Component.addInputMethodListener(java.awt.event.InputMethodListener) , addKeyListener sample code for java.awt.Component.addKeyListener(java.awt.event.KeyListener) definition code for java.awt.Component.addKeyListener(java.awt.event.KeyListener) , addMouseListener sample code for java.awt.Component.addMouseListener(java.awt.event.MouseListener) definition code for java.awt.Component.addMouseListener(java.awt.event.MouseListener) , addMouseMotionListener sample code for java.awt.Component.addMouseMotionListener(java.awt.event.MouseMotionListener) definition code for java.awt.Component.addMouseMotionListener(java.awt.event.MouseMotionListener) , addMouseWheelListener sample code for java.awt.Component.addMouseWheelListener(java.awt.event.MouseWheelListener) definition code for java.awt.Component.addMouseWheelListener(java.awt.event.MouseWheelListener) , bounds sample code for java.awt.Component.bounds() definition code for java.awt.Component.bounds() , checkImage sample code for java.awt.Component.checkImage(java.awt.Image, java.awt.image.ImageObserver) definition code for java.awt.Component.checkImage(java.awt.Image, java.awt.image.ImageObserver) , checkImage sample code for java.awt.Component.checkImage(java.awt.Image, int, int, java.awt.image.ImageObserver) definition code for java.awt.Component.checkImage(java.awt.Image, int, int, java.awt.image.ImageObserver) , coalesceEvents sample code for java.awt.Component.coalesceEvents(java.awt.AWTEvent, java.awt.AWTEvent) definition code for java.awt.Component.coalesceEvents(java.awt.AWTEvent, java.awt.AWTEvent) , contains sample code for java.awt.Component.contains(java.awt.Point) definition code for java.awt.Component.contains(java.awt.Point) , createImage sample code for java.awt.Component.createImage(java.awt.image.ImageProducer) definition code for java.awt.Component.createImage(java.awt.image.ImageProducer) , createImage sample code for java.awt.Component.createImage(int, int) definition code for java.awt.Component.createImage(int, int) , createVolatileImage sample code for java.awt.Component.createVolatileImage(int, int) definition code for java.awt.Component.createVolatileImage(int, int) , createVolatileImage sample code for java.awt.Component.createVolatileImage(int, int, java.awt.ImageCapabilities) definition code for java.awt.Component.createVolatileImage(int, int, java.awt.ImageCapabilities) , disableEvents sample code for java.awt.Component.disableEvents(long) definition code for java.awt.Component.disableEvents(long) , dispatchEvent sample code for java.awt.Component.dispatchEvent(java.awt.AWTEvent) definition code for java.awt.Component.dispatchEvent(java.awt.AWTEvent) , enable sample code for java.awt.Component.enable(boolean) definition code for java.awt.Component.enable(boolean) , enableEvents sample code for java.awt.Component.enableEvents(long) definition code for java.awt.Component.enableEvents(long) , enableInputMethods sample code for java.awt.Component.enableInputMethods(boolean) definition code for java.awt.Component.enableInputMethods(boolean) , firePropertyChange sample code for java.awt.Component.firePropertyChange(java.lang.String, byte, byte) definition code for java.awt.Component.firePropertyChange(java.lang.String, byte, byte) , firePropertyChange sample code for java.awt.Component.firePropertyChange(java.lang.String, double, double) definition code for java.awt.Component.firePropertyChange(java.lang.String, double, double) , firePropertyChange sample code for java.awt.Component.firePropertyChange(java.lang.String, float, float) definition code for java.awt.Component.firePropertyChange(java.lang.String, float, float) , firePropertyChange sample code for java.awt.Component.firePropertyChange(java.lang.String, long, long) definition code for java.awt.Component.firePropertyChange(java.lang.String, long, long) , firePropertyChange sample code for java.awt.Component.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object) definition code for java.awt.Component.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object) , firePropertyChange sample code for java.awt.Component.firePropertyChange(java.lang.String, short, short) definition code for java.awt.Component.firePropertyChange(java.lang.String, short, short) , getBackground sample code for java.awt.Component.getBackground() definition code for java.awt.Component.getBackground() , getBounds sample code for java.awt.Component.getBounds() definition code for java.awt.Component.getBounds() , getColorModel sample code for java.awt.Component.getColorModel() definition code for java.awt.Component.getColorModel() , getComponentListeners sample code for java.awt.Component.getComponentListeners() definition code for java.awt.Component.getComponentListeners() , getComponentOrientation sample code for java.awt.Component.getComponentOrientation() definition code for java.awt.Component.getComponentOrientation() , getCursor sample code for java.awt.Component.getCursor() definition code for java.awt.Component.getCursor() , getDropTarget sample code for java.awt.Component.getDropTarget() definition code for java.awt.Component.getDropTarget() , getFocusCycleRootAncestor sample code for java.awt.Component.getFocusCycleRootAncestor() definition code for java.awt.Component.getFocusCycleRootAncestor() , getFocusListeners sample code for java.awt.Component.getFocusListeners() definition code for java.awt.Component.getFocusListeners() , getFocusTraversalKeysEnabled sample code for java.awt.Component.getFocusTraversalKeysEnabled() definition code for java.awt.Component.getFocusTraversalKeysEnabled() , getFont sample code for java.awt.Component.getFont() definition code for java.awt.Component.getFont() , getForeground sample code for java.awt.Component.getForeground() definition code for java.awt.Component.getForeground() , getGraphicsConfiguration sample code for java.awt.Component.getGraphicsConfiguration() definition code for java.awt.Component.getGraphicsConfiguration() , getHierarchyBoundsListeners sample code for java.awt.Component.getHierarchyBoundsListeners() definition code for java.awt.Component.getHierarchyBoundsListeners() , getHierarchyListeners sample code for java.awt.Component.getHierarchyListeners() definition code for java.awt.Component.getHierarchyListeners() , getIgnoreRepaint sample code for java.awt.Component.getIgnoreRepaint() definition code for java.awt.Component.getIgnoreRepaint() , getInputContext sample code for java.awt.Component.getInputContext() definition code for java.awt.Component.getInputContext() , getInputMethodListeners sample code for java.awt.Component.getInputMethodListeners() definition code for java.awt.Component.getInputMethodListeners() , getInputMethodRequests sample code for java.awt.Component.getInputMethodRequests() definition code for java.awt.Component.getInputMethodRequests() , getKeyListeners sample code for java.awt.Component.getKeyListeners() definition code for java.awt.Component.getKeyListeners() , getLocale sample code for java.awt.Component.getLocale() definition code for java.awt.Component.getLocale() , getLocation sample code for java.awt.Component.getLocation() definition code for java.awt.Component.getLocation() , getLocationOnScreen sample code for java.awt.Component.getLocationOnScreen() definition code for java.awt.Component.getLocationOnScreen() , getMouseListeners sample code for java.awt.Component.getMouseListeners() definition code for java.awt.Component.getMouseListeners() , getMouseMotionListeners sample code for java.awt.Component.getMouseMotionListeners() definition code for java.awt.Component.getMouseMotionListeners() , getMousePosition sample code for java.awt.Component.getMousePosition() definition code for java.awt.Component.getMousePosition() , getMouseWheelListeners sample code for java.awt.Component.getMouseWheelListeners() definition code for java.awt.Component.getMouseWheelListeners() , getName sample code for java.awt.Component.getName() definition code for java.awt.Component.getName() , getParent sample code for java.awt.Component.getParent() definition code for java.awt.Component.getParent() , getPeer sample code for java.awt.Component.getPeer() definition code for java.awt.Component.getPeer() , getPropertyChangeListeners sample code for java.awt.Component.getPropertyChangeListeners() definition code for java.awt.Component.getPropertyChangeListeners() , getPropertyChangeListeners sample code for java.awt.Component.getPropertyChangeListeners(java.lang.String) definition code for java.awt.Component.getPropertyChangeListeners(java.lang.String) , getSize sample code for java.awt.Component.getSize() definition code for java.awt.Component.getSize() , getToolkit sample code for java.awt.Component.getToolkit() definition code for java.awt.Component.getToolkit() , getTreeLock sample code for java.awt.Component.getTreeLock() definition code for java.awt.Component.getTreeLock() , gotFocus sample code for java.awt.Component.gotFocus(java.awt.Event, java.lang.Object) definition code for java.awt.Component.gotFocus(java.awt.Event, java.lang.Object) , handleEvent sample code for java.awt.Component.handleEvent(java.awt.Event) definition code for java.awt.Component.handleEvent(java.awt.Event) , hasFocus sample code for java.awt.Component.hasFocus() definition code for java.awt.Component.hasFocus() , hide sample code for java.awt.Component.hide() definition code for java.awt.Component.hide() , imageUpdate sample code for java.awt.Component.imageUpdate(java.awt.Image, int, int, int, int, int) definition code for java.awt.Component.imageUpdate(java.awt.Image, int, int, int, int, int) , inside sample code for java.awt.Component.inside(int, int) definition code for java.awt.Component.inside(int, int) , isBackgroundSet sample code for java.awt.Component.isBackgroundSet() definition code for java.awt.Component.isBackgroundSet() , isCursorSet sample code for java.awt.Component.isCursorSet() definition code for java.awt.Component.isCursorSet() , isDisplayable sample code for java.awt.Component.isDisplayable() definition code for java.awt.Component.isDisplayable() , isEnabled sample code for java.awt.Component.isEnabled() definition code for java.awt.Component.isEnabled() , isFocusable sample code for java.awt.Component.isFocusable() definition code for java.awt.Component.isFocusable() , isFocusOwner sample code for java.awt.Component.isFocusOwner() definition code for java.awt.Component.isFocusOwner() , isFocusTraversable sample code for java.awt.Component.isFocusTraversable() definition code for java.awt.Component.isFocusTraversable() , isFontSet sample code for java.awt.Component.isFontSet() definition code for java.awt.Component.isFontSet() , isForegroundSet sample code for java.awt.Component.isForegroundSet() definition code for java.awt.Component.isForegroundSet() , isLightweight sample code for java.awt.Component.isLightweight() definition code for java.awt.Component.isLightweight() , isMaximumSizeSet sample code for java.awt.Component.isMaximumSizeSet() definition code for java.awt.Component.isMaximumSizeSet() , isMinimumSizeSet sample code for java.awt.Component.isMinimumSizeSet() definition code for java.awt.Component.isMinimumSizeSet() , isPreferredSizeSet sample code for java.awt.Component.isPreferredSizeSet() definition code for java.awt.Component.isPreferredSizeSet() , isShowing sample code for java.awt.Component.isShowing() definition code for java.awt.Component.isShowing() , isValid sample code for java.awt.Component.isValid() definition code for java.awt.Component.isValid() , isVisible sample code for java.awt.Component.isVisible() definition code for java.awt.Component.isVisible() , keyDown sample code for java.awt.Component.keyDown(java.awt.Event, int) definition code for java.awt.Component.keyDown(java.awt.Event, int) , keyUp sample code for java.awt.Component.keyUp(java.awt.Event, int) definition code for java.awt.Component.keyUp(java.awt.Event, int) , list sample code for java.awt.Component.list() definition code for java.awt.Component.list() , list sample code for java.awt.Component.list(java.io.PrintStream) definition code for java.awt.Component.list(java.io.PrintStream) , list sample code for java.awt.Component.list(java.io.PrintWriter) definition code for java.awt.Component.list(java.io.PrintWriter) , location sample code for java.awt.Component.location() definition code for java.awt.Component.location() , lostFocus sample code for java.awt.Component.lostFocus(java.awt.Event, java.lang.Object) definition code for java.awt.Component.lostFocus(java.awt.Event, java.lang.Object) , mouseDown sample code for java.awt.Component.mouseDown(java.awt.Event, int, int) definition code for java.awt.Component.mouseDown(java.awt.Event, int, int) , mouseDrag sample code for java.awt.Component.mouseDrag(java.awt.Event, int, int) definition code for java.awt.Component.mouseDrag(java.awt.Event, int, int) , mouseEnter sample code for java.awt.Component.mouseEnter(java.awt.Event, int, int) definition code for java.awt.Component.mouseEnter(java.awt.Event, int, int) , mouseExit sample code for java.awt.Component.mouseExit(java.awt.Event, int, int) definition code for java.awt.Component.mouseExit(java.awt.Event, int, int) , mouseMove sample code for java.awt.Component.mouseMove(java.awt.Event, int, int) definition code for java.awt.Component.mouseMove(java.awt.Event, int, int) , mouseUp sample code for java.awt.Component.mouseUp(java.awt.Event, int, int) definition code for java.awt.Component.mouseUp(java.awt.Event, int, int) , move sample code for java.awt.Component.move(int, int) definition code for java.awt.Component.move(int, int) , nextFocus sample code for java.awt.Component.nextFocus() definition code for java.awt.Component.nextFocus() , paintAll sample code for java.awt.Component.paintAll(java.awt.Graphics) definition code for java.awt.Component.paintAll(java.awt.Graphics) , postEvent sample code for java.awt.Component.postEvent(java.awt.Event) definition code for java.awt.Component.postEvent(java.awt.Event) , prepareImage sample code for java.awt.Component.prepareImage(java.awt.Image, java.awt.image.ImageObserver) definition code for java.awt.Component.prepareImage(java.awt.Image, java.awt.image.ImageObserver) , prepareImage sample code for java.awt.Component.prepareImage(java.awt.Image, int, int, java.awt.image.ImageObserver) definition code for java.awt.Component.prepareImage(java.awt.Image, int, int, java.awt.image.ImageObserver) , processComponentEvent sample code for java.awt.Component.processComponentEvent(java.awt.event.ComponentEvent) definition code for java.awt.Component.processComponentEvent(java.awt.event.ComponentEvent) , processFocusEvent sample code for java.awt.Component.processFocusEvent(java.awt.event.FocusEvent) definition code for java.awt.Component.processFocusEvent(java.awt.event.FocusEvent) , processHierarchyBoundsEvent sample code for java.awt.Component.processHierarchyBoundsEvent(java.awt.event.HierarchyEvent) definition code for java.awt.Component.processHierarchyBoundsEvent(java.awt.event.HierarchyEvent) , processHierarchyEvent sample code for java.awt.Component.processHierarchyEvent(java.awt.event.HierarchyEvent) definition code for java.awt.Component.processHierarchyEvent(java.awt.event.HierarchyEvent) , processInputMethodEvent sample code for java.awt.Component.processInputMethodEvent(java.awt.event.InputMethodEvent) definition code for java.awt.Component.processInputMethodEvent(java.awt.event.InputMethodEvent) , processMouseWheelEvent sample code for java.awt.Component.processMouseWheelEvent(java.awt.event.MouseWheelEvent) definition code for java.awt.Component.processMouseWheelEvent(java.awt.event.MouseWheelEvent) , remove sample code for java.awt.Component.remove(java.awt.MenuComponent) definition code for java.awt.Component.remove(java.awt.MenuComponent) , removeComponentListener sample code for java.awt.Component.removeComponentListener(java.awt.event.ComponentListener) definition code for java.awt.Component.removeComponentListener(java.awt.event.ComponentListener) , removeFocusListener sample code for java.awt.Component.removeFocusListener(java.awt.event.FocusListener) definition code for java.awt.Component.removeFocusListener(java.awt.event.FocusListener) , removeHierarchyBoundsListener sample code for java.awt.Component.removeHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener) definition code for java.awt.Component.removeHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener) , removeHierarchyListener sample code for java.awt.Component.removeHierarchyListener(java.awt.event.HierarchyListener) definition code for java.awt.Component.removeHierarchyListener(java.awt.event.HierarchyListener) , removeInputMethodListener sample code for java.awt.Component.removeInputMethodListener(java.awt.event.InputMethodListener) definition code for java.awt.Component.removeInputMethodListener(java.awt.event.InputMethodListener) , removeKeyListener sample code for java.awt.Component.removeKeyListener(java.awt.event.KeyListener) definition code for java.awt.Component.removeKeyListener(java.awt.event.KeyListener) , removeMouseListener sample code for java.awt.Component.removeMouseListener(java.awt.event.MouseListener) definition code for java.awt.Component.removeMouseListener(java.awt.event.MouseListener) , removeMouseMotionListener sample code for java.awt.Component.removeMouseMotionListener(java.awt.event.MouseMotionListener) definition code for java.awt.Component.removeMouseMotionListener(java.awt.event.MouseMotionListener) , removeMouseWheelListener sample code for java.awt.Component.removeMouseWheelListener(java.awt.event.MouseWheelListener) definition code for java.awt.Component.removeMouseWheelListener(java.awt.event.MouseWheelListener) , removePropertyChangeListener sample code for java.awt.Component.removePropertyChangeListener(java.beans.PropertyChangeListener) definition code for java.awt.Component.removePropertyChangeListener(java.beans.PropertyChangeListener) , removePropertyChangeListener sample code for java.awt.Component.removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) definition code for java.awt.Component.removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) , repaint sample code for java.awt.Component.repaint() definition code for java.awt.Component.repaint() , repaint sample code for java.awt.Component.repaint(int, int, int, int) definition code for java.awt.Component.repaint(int, int, int, int) , repaint sample code for java.awt.Component.repaint(long) definition code for java.awt.Component.repaint(long) , resize sample code for java.awt.Component.resize(java.awt.Dimension) definition code for java.awt.Component.resize(java.awt.Dimension) , resize sample code for java.awt.Component.resize(int, int) definition code for java.awt.Component.resize(int, int) , setBounds sample code for java.awt.Component.setBounds(int, int, int, int) definition code for java.awt.Component.setBounds(int, int, int, int) , setBounds sample code for java.awt.Component.setBounds(java.awt.Rectangle) definition code for java.awt.Component.setBounds(java.awt.Rectangle) , setComponentOrientation sample code for java.awt.Component.setComponentOrientation(java.awt.ComponentOrientation) definition code for java.awt.Component.setComponentOrientation(java.awt.ComponentOrientation) , setCursor sample code for java.awt.Component.setCursor(java.awt.Cursor) definition code for java.awt.Component.setCursor(java.awt.Cursor) , setDropTarget sample code for java.awt.Component.setDropTarget(java.awt.dnd.DropTarget) definition code for java.awt.Component.setDropTarget(java.awt.dnd.DropTarget) , setFocusable sample code for java.awt.Component.setFocusable(boolean) definition code for java.awt.Component.setFocusable(boolean) , setFocusTraversalKeysEnabled sample code for java.awt.Component.setFocusTraversalKeysEnabled(boolean) definition code for java.awt.Component.setFocusTraversalKeysEnabled(boolean) , setIgnoreRepaint sample code for java.awt.Component.setIgnoreRepaint(boolean) definition code for java.awt.Component.setIgnoreRepaint(boolean) , setLocale sample code for java.awt.Component.setLocale(java.util.Locale) definition code for java.awt.Component.setLocale(java.util.Locale) , setLocation sample code for java.awt.Component.setLocation(int, int) definition code for java.awt.Component.setLocation(int, int) , setLocation sample code for java.awt.Component.setLocation(java.awt.Point) definition code for java.awt.Component.setLocation(java.awt.Point) , setName sample code for java.awt.Component.setName(java.lang.String) definition code for java.awt.Component.setName(java.lang.String) , setSize sample code for java.awt.Component.setSize(java.awt.Dimension) definition code for java.awt.Component.setSize(java.awt.Dimension) , setSize sample code for java.awt.Component.setSize(int, int) definition code for java.awt.Component.setSize(int, int) , show sample code for java.awt.Component.show() definition code for java.awt.Component.show() , show sample code for java.awt.Component.show(boolean) definition code for java.awt.Component.show(boolean) , size sample code for java.awt.Component.size() definition code for java.awt.Component.size() , toString sample code for java.awt.Component.toString() definition code for java.awt.Component.toString() , transferFocus sample code for java.awt.Component.transferFocus() definition code for java.awt.Component.transferFocus() , transferFocusUpCycle sample code for java.awt.Component.transferFocusUpCycle() definition code for java.awt.Component.transferFocusUpCycle()
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

VERTICAL_SPLIT sample code for javax.swing.JSplitPane.VERTICAL_SPLIT

public static final int VERTICAL_SPLIT
Vertical split indicates the Components are split along the y axis. For example the two Components will be split one on top of the other.

See Also:
Constant Field Values

HORIZONTAL_SPLIT sample code for javax.swing.JSplitPane.HORIZONTAL_SPLIT

public static final int HORIZONTAL_SPLIT
Horizontal split indicates the Components are split along the x axis. For example the two Components will be split one to the left of the other.

See Also:
Constant Field Values

LEFT sample code for javax.swing.JSplitPane.LEFT

public static final String sample code for java.lang.String definition code for java.lang.String  LEFT
Used to add a Component to the left of the other Component.

See Also:
Constant Field Values

RIGHT sample code for javax.swing.JSplitPane.RIGHT

public static final String sample code for java.lang.String definition code for java.lang.String  RIGHT
Used to add a Component to the right of the other Component.

See Also:
Constant Field Values

TOP sample code for javax.swing.JSplitPane.TOP

public static final String sample code for java.lang.String definition code for java.lang.String  TOP
Used to add a Component above the other Component.

See Also:
Constant Field Values

BOTTOM sample code for javax.swing.JSplitPane.BOTTOM

public static final String sample code for java.lang.String definition code for java.lang.String  BOTTOM
Used to add a Component below the other Component.

See Also:
Constant Field Values

DIVIDER sample code for javax.swing.JSplitPane.DIVIDER

public static final String sample code for java.lang.String definition code for java.lang.String  DIVIDER
Used to add a Component that will represent the divider.

See Also:
Constant Field Values

ORIENTATION_PROPERTY sample code for javax.swing.JSplitPane.ORIENTATION_PROPERTY

public static final String sample code for java.lang.String definition code for java.lang.String  ORIENTATION_PROPERTY
Bound property name for orientation (horizontal or vertical).

See Also:
Constant Field Values

CONTINUOUS_LAYOUT_PROPERTY sample code for javax.swing.JSplitPane.CONTINUOUS_LAYOUT_PROPERTY

public static final String sample code for java.lang.String definition code for java.lang.String  CONTINUOUS_LAYOUT_PROPERTY
Bound property name for continuousLayout.

See Also:
Constant Field Values

DIVIDER_SIZE_PROPERTY sample code for javax.swing.JSplitPane.DIVIDER_SIZE_PROPERTY

public static final String sample code for java.lang.String definition code for java.lang.String  DIVIDER_SIZE_PROPERTY
Bound property name for border.

See Also:
Constant Field Values

ONE_TOUCH_EXPANDABLE_PROPERTY sample code for javax.swing.JSplitPane.ONE_TOUCH_EXPANDABLE_PROPERTY

public static final String sample code for java.lang.String definition code for java.lang.String  ONE_TOUCH_EXPANDABLE_PROPERTY
Bound property for oneTouchExpandable.

See Also:
Constant Field Values

LAST_DIVIDER_LOCATION_PROPERTY sample code for javax.swing.JSplitPane.LAST_DIVIDER_LOCATION_PROPERTY

public static final String sample code for java.lang.String definition code for java.lang.String  LAST_DIVIDER_LOCATION_PROPERTY
Bound property for lastLocation.

See Also:
Constant Field Values

DIVIDER_LOCATION_PROPERTY sample code for javax.swing.JSplitPane.DIVIDER_LOCATION_PROPERTY

public static final String sample code for java.lang.String definition code for java.lang.String  DIVIDER_LOCATION_PROPERTY
Bound property for the dividerLocation.

Since:
1.3
See Also:
Constant Field Values

RESIZE_WEIGHT_PROPERTY sample code for javax.swing.JSplitPane.RESIZE_WEIGHT_PROPERTY

public static final String sample code for java.lang.String definition code for java.lang.String  RESIZE_WEIGHT_PROPERTY
Bound property for weight.

Since:
1.3.
See Also:
Constant Field Values

orientation sample code for javax.swing.JSplitPane.orientation

protected int orientation
How the views are split.


continuousLayout sample code for javax.swing.JSplitPane.continuousLayout

protected boolean continuousLayout
Whether or not the views are continuously redisplayed while resizing.


leftComponent sample code for javax.swing.JSplitPane.leftComponent

protected Component sample code for java.awt.Component definition code for java.awt.Component  leftComponent
The left or top component.


rightComponent sample code for javax.swing.JSplitPane.rightComponent

protected Component sample code for java.awt.Component definition code for java.awt.Component  rightComponent
The right or bottom component.


dividerSize sample code for javax.swing.JSplitPane.dividerSize

protected int dividerSize
Size of the divider.


oneTouchExpandable sample code for javax.swing.JSplitPane.oneTouchExpandable

protected boolean oneTouchExpandable
Is a little widget provided to quickly expand/collapse the split pane?


lastDividerLocation sample code for javax.swing.JSplitPane.lastDividerLocation

protected int lastDividerLocation
Previous location of the split pane.

Constructor Detail

JSplitPane sample code for javax.swing.JSplitPane() definition code for javax.swing.JSplitPane()

public JSplitPane()
Creates a new JSplitPane configured to arrange the child components side-by-side horizontally with no continuous layout, using two buttons for the components.


JSplitPane sample code for javax.swing.JSplitPane(int) definition code for javax.swing.JSplitPane(int)

public JSplitPane(int newOrientation)
Creates a new JSplitPane configured with the specified orientation and no continuous layout.

Parameters:
newOrientation - JSplitPane.HORIZONTAL_SPLIT or JSplitPane.VERTICAL_SPLIT
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if orientation is not one of HORIZONTAL_SPLIT or VERTICAL_SPLIT.

JSplitPane sample code for javax.swing.JSplitPane(int, boolean) definition code for javax.swing.JSplitPane(int, boolean)

public JSplitPane(int newOrientation,
                  boolean newContinuousLayout)
Creates a new JSplitPane with the specified orientation and redrawing style.

Parameters:
newOrientation - JSplitPane.HORIZONTAL_SPLIT or JSplitPane.VERTICAL_SPLIT
newContinuousLayout - a boolean, true for the components to redraw continuously as the divider changes position, false to wait until the divider position stops changing to redraw
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if orientation is not one of HORIZONTAL_SPLIT or VERTICAL_SPLIT

JSplitPane sample code for javax.swing.JSplitPane(int, java.awt.Component, java.awt.Component) definition code for javax.swing.JSplitPane(int, java.awt.Component, java.awt.Component)

public JSplitPane(int newOrientation,
                  Component sample code for java.awt.Component definition code for java.awt.Component  newLeftComponent,
                  Component sample code for java.awt.Component definition code for java.awt.Component  newRightComponent)
Creates a new JSplitPane with the specified orientation and with the specified components that do not do continuous redrawing.

Parameters:
newOrientation - JSplitPane.HORIZONTAL_SPLIT or JSplitPane.VERTICAL_SPLIT
newLeftComponent - the Component that will appear on the left of a horizontally-split pane, or at the top of a vertically-split pane
newRightComponent - the Component that will appear on the right of a horizontally-split pane, or at the bottom of a vertically-split pane
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if orientation is not one of: HORIZONTAL_SPLIT or VERTICAL_SPLIT

JSplitPane sample code for javax.swing.JSplitPane(int, boolean, java.awt.Component, java.awt.Component) definition code for javax.swing.JSplitPane(int, boolean, java.awt.Component, java.awt.Component)

public JSplitPane(int newOrientation,
                  boolean newContinuousLayout,
                  Component sample code for java.awt.Component definition code for java.awt.Component  newLeftComponent,
                  Component sample code for java.awt.Component definition code for java.awt.Component  newRightComponent)
Creates a new JSplitPane with the specified orientation and redrawing style, and with the specified components.

Parameters:
newOrientation - JSplitPane.HORIZONTAL_SPLIT or JSplitPane.VERTICAL_SPLIT
newContinuousLayout - a boolean, true for the components to redraw continuously as the divider changes position, false to wait until the divider position stops changing to redraw
newLeftComponent - the Component that will appear on the left of a horizontally-split pane, or at the top of a vertically-split pane
newRightComponent - the Component that will appear on the right of a horizontally-split pane, or at the bottom of a vertically-split pane
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if orientation is not one of HORIZONTAL_SPLIT or VERTICAL_SPLIT
Method Detail

setUI sample code for javax.swing.JSplitPane.setUI(javax.swing.plaf.SplitPaneUI) definition code for javax.swing.JSplitPane.setUI(javax.swing.plaf.SplitPaneUI)

public void setUI(SplitPaneUI sample code for javax.swing.plaf.SplitPaneUI definition code for javax.swing.plaf.SplitPaneUI  ui)
Sets the L&F object that renders this component.

Parameters:
ui - the SplitPaneUI L&F object
See Also:
UIDefaults.getUI(javax.swing.JComponent) sample code for javax.swing.UIDefaults.getUI(javax.swing.JComponent) definition code for javax.swing.UIDefaults.getUI(javax.swing.JComponent)

getUI sample code for javax.swing.JSplitPane.getUI() definition code for javax.swing.JSplitPane.getUI()

public SplitPaneUI sample code for javax.swing.plaf.SplitPaneUI definition code for javax.swing.plaf.SplitPaneUI  getUI()
Returns the SplitPaneUI that is providing the current look and feel.

Returns:
the SplitPaneUI object that renders this component

updateUI sample code for javax.swing.JSplitPane.updateUI() definition code for javax.swing.JSplitPane.updateUI()

public void updateUI()
Notification from the UIManager that the L&F has changed. Replaces the current UI object with the latest version from the UIManager.

Overrides:
updateUI sample code for javax.swing.JComponent.updateUI() definition code for javax.swing.JComponent.updateUI() in class JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent
See Also:
JComponent.updateUI() sample code for javax.swing.JComponent.updateUI() definition code for javax.swing.JComponent.updateUI()

getUIClassID sample code for javax.swing.JSplitPane.getUIClassID() definition code for javax.swing.JSplitPane.getUIClassID()

public String sample code for java.lang.String definition code for java.lang.String  getUIClassID()
Returns the name of the L&F class that renders this component.

Overrides:
getUIClassID sample code for javax.swing.JComponent.getUIClassID() definition code for javax.swing.JComponent.getUIClassID() in class JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent
Returns:
the string "SplitPaneUI"
See Also:
JComponent.getUIClassID() sample code for javax.swing.JComponent.getUIClassID() definition code for javax.swing.JComponent.getUIClassID() , UIDefaults.getUI(javax.swing.JComponent) sample code for javax.swing.UIDefaults.getUI(javax.swing.JComponent) definition code for javax.swing.UIDefaults.getUI(javax.swing.JComponent)

setDividerSize sample code for javax.swing.JSplitPane.setDividerSize(int) definition code for javax.swing.JSplitPane.setDividerSize(int)

public void setDividerSize(int newSize)
Sets the size of the divider.

Parameters:
newSize - an integer giving the size of the divider in pixels

getDividerSize sample code for javax.swing.JSplitPane.getDividerSize() definition code for javax.swing.JSplitPane.getDividerSize()

public int getDividerSize()
Returns the size of the divider.

Returns:
an integer giving the size of the divider in pixels

setLeftComponent sample code for javax.swing.JSplitPane.setLeftComponent(java.awt.Component) definition code for javax.swing.JSplitPane.setLeftComponent(java.awt.Component)

public void setLeftComponent(Component sample code for java.awt.Component definition code for java.awt.Component  comp)
Sets the component to the left (or above) the divider.

Parameters:
comp - the Component to display in that position

getLeftComponent sample code for javax.swing.JSplitPane.getLeftComponent() definition code for javax.swing.JSplitPane.getLeftComponent()

public Component sample code for java.awt.Component definition code for java.awt.Component  getLeftComponent()
Returns the component to the left (or above) the divider.

Returns:
the Component displayed in that position

setTopComponent sample code for javax.swing.JSplitPane.setTopComponent(java.awt.Component) definition code for javax.swing.JSplitPane.setTopComponent(java.awt.Component)

public void setTopComponent(Component sample code for java.awt.Component definition code for java.awt.Component  comp)
Sets the component above, or to the left of the divider.

Parameters:
comp - the Component to display in that position

getTopComponent sample code for javax.swing.JSplitPane.getTopComponent() definition code for javax.swing.JSplitPane.getTopComponent()

public Component sample code for java.awt.Component definition code for java.awt.Component  getTopComponent()
Returns the component above, or to the left of the divider.

Returns:
the Component displayed in that position

setRightComponent sample code for javax.swing.JSplitPane.setRightComponent(java.awt.Component) definition code for javax.swing.JSplitPane.setRightComponent(java.awt.Component)

public void setRightComponent(Component sample code for java.awt.Component definition code for java.awt.Component  comp)
Sets the component to the right (or below) the divider.

Parameters:
comp - the Component to display in that position

getRightComponent sample code for javax.swing.JSplitPane.getRightComponent() definition code for javax.swing.JSplitPane.getRightComponent()

public Component sample code for java.awt.Component definition code for java.awt.Component  getRightComponent()
Returns the component to the right (or below) the divider.

Returns:
the Component displayed in that position

setBottomComponent sample code for javax.swing.JSplitPane.setBottomComponent(java.awt.Component) definition code for javax.swing.JSplitPane.setBottomComponent(java.awt.Component)

public void setBottomComponent(Component sample code for java.awt.Component definition code for java.awt.Component  comp)
Sets the component below, or to the right of the divider.

Parameters:
comp - the Component to display in that position

getBottomComponent sample code for javax.swing.JSplitPane.getBottomComponent() definition code for javax.swing.JSplitPane.getBottomComponent()

public Component sample code for java.awt.Component definition code for java.awt.Component  getBottomComponent()
Returns the component below, or to the right of the divider.

Returns:
the Component displayed in that position

setOneTouchExpandable sample code for javax.swing.JSplitPane.setOneTouchExpandable(boolean) definition code for javax.swing.JSplitPane.setOneTouchExpandable(boolean)

public void setOneTouchExpandable(boolean newValue)
Sets the value of the oneTouchExpandable property, which must be true for the JSplitPane to provide a UI widget on the divider to quickly expand/collapse the divider. The default value of this property is false. Some look and feels might not support one-touch expanding; they will ignore this property.

Parameters:
newValue - true to specify that the split pane should provide a collapse/expand widget
See Also:
isOneTouchExpandable() sample code for javax.swing.JSplitPane.isOneTouchExpandable() definition code for javax.swing.JSplitPane.isOneTouchExpandable()

isOneTouchExpandable sample code for javax.swing.JSplitPane.isOneTouchExpandable() definition code for javax.swing.JSplitPane.isOneTouchExpandable()

public boolean isOneTouchExpandable()
Gets the oneTouchExpandable property.

Returns:
the value of the oneTouchExpandable property
See Also:
setOneTouchExpandable(boolean) sample code for javax.swing.JSplitPane.setOneTouchExpandable(boolean) definition code for javax.swing.JSplitPane.setOneTouchExpandable(boolean)

setLastDividerLocation sample code for javax.swing.JSplitPane.setLastDividerLocation(int) definition code for javax.swing.JSplitPane.setLastDividerLocation(int)

public void setLastDividerLocation(int newLastLocation)
Sets the last location the divider was at to newLastLocation.

Parameters:
newLastLocation - an integer specifying the last divider location in pixels, from the left (or upper) edge of the pane to the left (or upper) edge of the divider

getLastDividerLocation sample code for javax.swing.JSplitPane.getLastDividerLocation() definition code for javax.swing.JSplitPane.getLastDividerLocation()

public int getLastDividerLocation()
Returns the last location the divider was at.

Returns:
an integer specifying the last divider location as a count of pixels from the left (or upper) edge of the pane to the left (or upper) edge of the divider

setOrientation sample code for javax.swing.JSplitPane.setOrientation(int) definition code for javax.swing.JSplitPane.setOrientation(int)

public void setOrientation(int orientation)
Sets the orientation, or how the splitter is divided. The options are:

Parameters:
orientation - an integer specifying the orientation
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if orientation is not one of: HORIZONTAL_SPLIT or VERTICAL_SPLIT.

getOrientation sample code for javax.swing.JSplitPane.getOrientation() definition code for javax.swing.JSplitPane.getOrientation()

public int getOrientation()
Returns the orientation.

Returns:
an integer giving the orientation
See Also:
setOrientation(int) sample code for javax.swing.JSplitPane.setOrientation(int) definition code for javax.swing.JSplitPane.setOrientation(int)

setContinuousLayout sample code for javax.swing.JSplitPane.setContinuousLayout(boolean) definition code for javax.swing.JSplitPane.setContinuousLayout(boolean)

public void setContinuousLayout(boolean newContinuousLayout)
Sets the value of the continuousLayout property, which must be true for the child components to be continuously redisplayed and laid out during user intervention. The default value of this property is false. Some look and feels might not support continuous layout; they will ignore this property.

Parameters:
newContinuousLayout - true if the components should continuously be redrawn as the divider changes position
See Also:
isContinuousLayout() sample code for javax.swing.JSplitPane.isContinuousLayout() definition code for javax.swing.JSplitPane.isContinuousLayout()

isContinuousLayout sample code for javax.swing.JSplitPane.isContinuousLayout() definition code for javax.swing.JSplitPane.isContinuousLayout()

public boolean isContinuousLayout()
Gets the continuousLayout property.

Returns:
the value of the continuousLayout property
See Also:
setContinuousLayout(boolean) sample code for javax.swing.JSplitPane.setContinuousLayout(boolean) definition code for javax.swing.JSplitPane.setContinuousLayout(boolean)

setResizeWeight sample code for javax.swing.JSplitPane.setResizeWeight(double) definition code for javax.swing.JSplitPane.setResizeWeight(double)

public void setResizeWeight(double value)
Specifies how to distribute extra space when the size of the split pane changes. A value of 0, the default, indicates the right/bottom component gets all the extra space (the left/top component acts fixed), where as a value of 1 specifies the left/top component gets all the extra space (the right/bottom component acts fixed). Specifically, the left/top component gets (weight * diff) extra space and the right/bottom component gets (1 - weight) * diff extra space.

Parameters:
value - as described above
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if value is < 0 or > 1
Since:
1.3

getResizeWeight sample code for javax.swing.JSplitPane.getResizeWeight() definition code for javax.swing.JSplitPane.getResizeWeight()

public double getResizeWeight()
Returns the number that determines how extra space is distributed.

Returns:
how extra space is to be distributed on a resize of the split pane
Since:
1.3

resetToPreferredSizes sample code for javax.swing.JSplitPane.resetToPreferredSizes() definition code for javax.swing.JSplitPane.resetToPreferredSizes()

public void resetToPreferredSizes()
Lays out the JSplitPane layout based on the preferred size of the children components. This will likely result in changing the divider location.


setDividerLocation sample code for javax.swing.JSplitPane.setDividerLocation(double) definition code for javax.swing.JSplitPane.setDividerLocation(double)

public void setDividerLocation(double proportionalLocation)
Sets the divider location as a percentage of the JSplitPane's size.

This method is implemented in terms of setDividerLocation(int). This method immediately changes the size of the split pane based on its current size. If the split pane is not correctly realized and on screen, this method will have no effect (new divider location will become (current size * proportionalLocation) which is 0).

Parameters:
proportionalLocation - a double-precision floating point value that specifies a percentage, from zero (top/left) to 1.0 (bottom/right)
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if the specified location is < 0 or > 1.0

setDividerLocation sample code for javax.swing.JSplitPane.setDividerLocation(int) definition code for javax.swing.JSplitPane.setDividerLocation(int)

public void setDividerLocation(int location)
Sets the location of the divider. This is passed off to the look and feel implementation, and then listeners are notified. A value less than 0 implies the divider should be reset to a value that attempts to honor the preferred size of the left/top component. After notifying the listeners, the last divider location is updated, via setLastDividerLocation.

Parameters:
location - an int specifying a UI-specific value (typically a pixel count)

getDividerLocation sample code for javax.swing.JSplitPane.getDividerLocation() definition code for javax.swing.JSplitPane.getDividerLocation()

public int getDividerLocation()
Returns the last value passed to setDividerLocation. The value returned from this method may differ from the actual divider location (if setDividerLocation was passed a value bigger than the curent size).

Returns:
an integer specifying the location of the divider

getMinimumDividerLocation sample code for javax.swing.JSplitPane.getMinimumDividerLocation() definition code for javax.swing.JSplitPane.getMinimumDividerLocation()

public int getMinimumDividerLocation()
Returns the minimum location of the divider from the look and feel implementation.

Returns:
an integer specifying a UI-specific value for the minimum location (typically a pixel count); or -1 if the UI is null

getMaximumDividerLocation sample code for javax.swing.JSplitPane.getMaximumDividerLocation() definition code for javax.swing.JSplitPane.getMaximumDividerLocation()

public int getMaximumDividerLocation()
Returns the maximum location of the divider from the look and feel implementation.

Returns:
an integer specifying a UI-specific value for the maximum location (typically a pixel count); or -1 if the UI is null

remove sample code for javax.swing.JSplitPane.remove(java.awt.Component) definition code for javax.swing.JSplitPane.remove(java.awt.Component)

public void remove(Component sample code for java.awt.Component definition code for java.awt.Component  component)
Removes the child component, component from the pane. Resets the leftComponent or rightComponent instance variable, as necessary.

Overrides:
remove sample code for java.awt.Container.remove(java.awt.Component) definition code for java.awt.Container.remove(java.awt.Component) in class Container sample code for java.awt.Container definition code for java.awt.Container
Parameters:
component - the Component to remove
See Also:
Container.add(java.awt.Component) sample code for java.awt.Container.add(java.awt.Component) definition code for java.awt.Container.add(java.awt.Component) , Container.remove(int) sample code for java.awt.Container.remove(int) definition code for java.awt.Container.remove(int)

remove sample code for javax.swing.JSplitPane.remove(int) definition code for javax.swing.JSplitPane.remove(int)

public void remove(int index)
Removes the Component at the specified index. Updates the leftComponent and rightComponent instance variables as necessary, and then messages super.

Overrides:
remove sample code for java.awt.Container.remove(int) definition code for java.awt.Container.remove(int) in class Container sample code for java.awt.Container definition code for java.awt.Container
Parameters:
index - an integer specifying the component to remove, where 1 specifies the left/top component and 2 specifies the bottom/right component
See Also:
Container.add(java.awt.Component) sample code for java.awt.Container.add(java.awt.Component) definition code for java.awt.Container.add(java.awt.Component)

removeAll sample code for javax.swing.JSplitPane.removeAll() definition code for javax.swing.JSplitPane.removeAll()

public void removeAll()
Removes all the child components from the split pane. Resets the leftComonent and rightComponent instance variables.

Overrides:
removeAll sample code for java.awt.Container.removeAll() definition code for java.awt.Container.removeAll() in class Container sample code for java.awt.Container definition code for java.awt.Container
See Also:
Container.add(java.awt.Component) sample code for java.awt.Container.add(java.awt.Component) definition code for java.awt.Container.add(java.awt.Component) , Container.remove(int) sample code for java.awt.Container.remove(int) definition code for java.awt.Container.remove(int)

isValidateRoot sample code for javax.swing.JSplitPane.isValidateRoot() definition code for javax.swing.JSplitPane.isValidateRoot()

public boolean isValidateRoot()
Returns true, so that calls to revalidate on any descendant of this JSplitPane will cause a request to be queued that will validate the JSplitPane and all its descendants.

Overrides:
isValidateRoot sample code for javax.swing.JComponent.isValidateRoot() definition code for javax.swing.JComponent.isValidateRoot() in class JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent
Returns:
true
See Also:
JComponent.revalidate() sample code for javax.swing.JComponent.revalidate() definition code for javax.swing.JComponent.revalidate()

addImpl sample code for javax.swing.JSplitPane.addImpl(java.awt.Component, java.lang.Object, int) definition code for javax.swing.JSplitPane.addImpl(java.awt.Component, java.lang.Object, int)

protected void addImpl(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)
Adds the specified component to this split pane. If constraints identifies the left/top or right/bottom child component, and a component with that identifier was previously added, it will be removed and then comp will be added in its place. If constraints is not one of the known identifiers the layout manager may throw an IllegalArgumentException.

The possible constraints objects (Strings) are:

If the constraints object is null, the component is added in the first available position (left/top if open, else right/bottom).

Overrides:
addImpl sample code for java.awt.Container.addImpl(java.awt.Component, java.lang.Object, int) definition code for java.awt.Container.addImpl(java.awt.Component, java.lang.Object, int) in class Container sample code for java.awt.Container definition code for java.awt.Container
Parameters:
comp - the component to add
constraints - an Object specifying the layout constraints (position) for this component
index - an integer specifying the index in the container's list.
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if the constraints object does not match an existing component
See Also:
Container.addImpl(Component, Object, int) sample code for java.awt.Container.addImpl(java.awt.Component, java.lang.Object, int) definition code for java.awt.Container.addImpl(java.awt.Component, java.lang.Object, int)

paintChildren sample code for javax.swing.JSplitPane.paintChildren(java.awt.Graphics) definition code for javax.swing.JSplitPane.paintChildren(java.awt.Graphics)

protected void paintChildren(Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g)
Subclassed to message the UI with finishedPaintingChildren after super has been messaged, as well as painting the border.

Overrides:
paintChildren sample code for javax.swing.JComponent.paintChildren(java.awt.Graphics) definition code for javax.swing.JComponent.paintChildren(java.awt.Graphics) in class JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent
Parameters:
g - the Graphics context within which to paint
See Also:
JComponent.paint(java.awt.Graphics) sample code for javax.swing.JComponent.paint(java.awt.Graphics) definition code for javax.swing.JComponent.paint(java.awt.Graphics) , Container.paint(java.awt.Graphics) sample code for java.awt.Container.paint(java.awt.Graphics) definition code for java.awt.Container.paint(java.awt.Graphics)

paramString sample code for javax.swing.JSplitPane.paramString() definition code for javax.swing.JSplitPane.paramString()

protected String sample code for java.lang.String definition code for java.lang.String  paramString()
Returns a string representation of this JSplitPane. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null.

Overrides:
paramString sample code for javax.swing.JComponent.paramString() definition code for javax.swing.JComponent.paramString() in class JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent
Returns:
a string representation of this JSplitPane.

getAccessibleContext sample code for javax.swing.JSplitPane.getAccessibleContext() definition code for javax.swing.JSplitPane.getAccessibleContext()

public AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext  getAccessibleContext()
Gets the AccessibleContext associated with this JSplitPane. For split panes, the AccessibleContext takes the form of an AccessibleJSplitPane. A new AccessibleJSplitPane instance is created if necessary.

Specified by:
getAccessibleContext sample code for javax.accessibility.Accessible.getAccessibleContext() definition code for javax.accessibility.Accessible.getAccessibleContext() in interface Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible
Overrides:
getAccessibleContext sample code for javax.swing.JComponent.getAccessibleContext() definition code for javax.swing.JComponent.getAccessibleContext() in class JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent
Returns:
an AccessibleJSplitPane that serves as the AccessibleContext of this JSplitPane