javax.swing
Class JInternalFrame

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.JInternalFrame
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 , RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer , WindowConstants sample code for javax.swing.WindowConstants definition code for javax.swing.WindowConstants

public class JInternalFrame
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 , WindowConstants sample code for javax.swing.WindowConstants definition code for javax.swing.WindowConstants , RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer

A lightweight object that provides many of the features of a native frame, including dragging, closing, becoming an icon, resizing, title display, and support for a menu bar. For task-oriented documentation and examples of using internal frames, see How to Use Internal Frames, a section in The Java Tutorial.

Generally, you add JInternalFrames to a JDesktopPane. The UI delegates the look-and-feel-specific actions to the DesktopManager object maintained by the JDesktopPane.

The JInternalFrame content pane is where you add child components. As a conveniance add and its variants, remove and setLayout have been overridden to forward to the contentPane as necessary. This means you can write:

       internalFrame.add(child);
 
And the child will be added to the contentPane. The content pane is actually managed by an instance of JRootPane, which also manages a layout pane, glass pane, and optional menu bar for the internal frame. Please see the JRootPane documentation for a complete description of these components. Refer to RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer for details on adding, removing and setting the LayoutManager of a JInternalFrame.

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:
InternalFrameEvent sample code for javax.swing.event.InternalFrameEvent definition code for javax.swing.event.InternalFrameEvent , JDesktopPane sample code for javax.swing.JDesktopPane definition code for javax.swing.JDesktopPane , DesktopManager sample code for javax.swing.DesktopManager definition code for javax.swing.DesktopManager , JInternalFrame.JDesktopIcon sample code for javax.swing.JInternalFrame.JDesktopIcon definition code for javax.swing.JInternalFrame.JDesktopIcon , JRootPane sample code for javax.swing.JRootPane definition code for javax.swing.JRootPane , RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer , Serialized Form

Nested Class Summary
protected  class JInternalFrame.AccessibleJInternalFrame sample code for javax.swing.JInternalFrame.AccessibleJInternalFrame definition code for javax.swing.JInternalFrame.AccessibleJInternalFrame
          This class implements accessibility support for the JInternalFrame class.
static class JInternalFrame.JDesktopIcon sample code for javax.swing.JInternalFrame.JDesktopIcon definition code for javax.swing.JInternalFrame.JDesktopIcon
          This component represents an iconified version of a JInternalFrame.
 
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
protected  boolean closable sample code for javax.swing.JInternalFrame.closable definition code for javax.swing.JInternalFrame.closable
          The frame can be closed.
static String sample code for java.lang.String definition code for java.lang.String CONTENT_PANE_PROPERTY sample code for javax.swing.JInternalFrame.CONTENT_PANE_PROPERTY definition code for javax.swing.JInternalFrame.CONTENT_PANE_PROPERTY
          Bound property name.
protected  JInternalFrame.JDesktopIcon sample code for javax.swing.JInternalFrame.JDesktopIcon definition code for javax.swing.JInternalFrame.JDesktopIcon desktopIcon sample code for javax.swing.JInternalFrame.desktopIcon definition code for javax.swing.JInternalFrame.desktopIcon
          The icon that is displayed when this internal frame is iconified.
static String sample code for java.lang.String definition code for java.lang.String FRAME_ICON_PROPERTY sample code for javax.swing.JInternalFrame.FRAME_ICON_PROPERTY definition code for javax.swing.JInternalFrame.FRAME_ICON_PROPERTY
          Bound property name.
protected  Icon sample code for javax.swing.Icon definition code for javax.swing.Icon frameIcon sample code for javax.swing.JInternalFrame.frameIcon definition code for javax.swing.JInternalFrame.frameIcon
          The icon shown in the top-left corner of this internal frame.
static String sample code for java.lang.String definition code for java.lang.String GLASS_PANE_PROPERTY sample code for javax.swing.JInternalFrame.GLASS_PANE_PROPERTY definition code for javax.swing.JInternalFrame.GLASS_PANE_PROPERTY
          Bound property name.
protected  boolean iconable sample code for javax.swing.JInternalFrame.iconable definition code for javax.swing.JInternalFrame.iconable
          The frame can "iconified" (shrunk down and displayed as an icon-image).
static String sample code for java.lang.String definition code for java.lang.String IS_CLOSED_PROPERTY sample code for javax.swing.JInternalFrame.IS_CLOSED_PROPERTY definition code for javax.swing.JInternalFrame.IS_CLOSED_PROPERTY
          Constrained property name indicating that the internal frame is closed.
static String sample code for java.lang.String definition code for java.lang.String IS_ICON_PROPERTY sample code for javax.swing.JInternalFrame.IS_ICON_PROPERTY definition code for javax.swing.JInternalFrame.IS_ICON_PROPERTY
          Constrained property name indicating that the internal frame is iconified.
static String sample code for java.lang.String definition code for java.lang.String IS_MAXIMUM_PROPERTY sample code for javax.swing.JInternalFrame.IS_MAXIMUM_PROPERTY definition code for javax.swing.JInternalFrame.IS_MAXIMUM_PROPERTY
          Constrained property name indicating that the internal frame is maximized.
static String sample code for java.lang.String definition code for java.lang.String IS_SELECTED_PROPERTY sample code for javax.swing.JInternalFrame.IS_SELECTED_PROPERTY definition code for javax.swing.JInternalFrame.IS_SELECTED_PROPERTY
          Constrained property name indicated that this frame has selected status.
protected  boolean isClosed sample code for javax.swing.JInternalFrame.isClosed definition code for javax.swing.JInternalFrame.isClosed
          The frame has been closed.
protected  boolean isIcon sample code for javax.swing.JInternalFrame.isIcon definition code for javax.swing.JInternalFrame.isIcon
          The frame has been iconified.
protected  boolean isMaximum sample code for javax.swing.JInternalFrame.isMaximum definition code for javax.swing.JInternalFrame.isMaximum
          The frame has been expanded to its maximum size.
protected  boolean isSelected sample code for javax.swing.JInternalFrame.isSelected definition code for javax.swing.JInternalFrame.isSelected
          The frame is currently selected.
static String sample code for java.lang.String definition code for java.lang.String LAYERED_PANE_PROPERTY sample code for javax.swing.JInternalFrame.LAYERED_PANE_PROPERTY definition code for javax.swing.JInternalFrame.LAYERED_PANE_PROPERTY
          Bound property name.
protected  boolean maximizable sample code for javax.swing.JInternalFrame.maximizable definition code for javax.swing.JInternalFrame.maximizable
          The frame can be expanded to the size of the desktop pane.
static String sample code for java.lang.String definition code for java.lang.String MENU_BAR_PROPERTY sample code for javax.swing.JInternalFrame.MENU_BAR_PROPERTY definition code for javax.swing.JInternalFrame.MENU_BAR_PROPERTY
          Bound property name.
protected  boolean resizable sample code for javax.swing.JInternalFrame.resizable definition code for javax.swing.JInternalFrame.resizable
          The frame's size can be changed.
static String sample code for java.lang.String definition code for java.lang.String ROOT_PANE_PROPERTY sample code for javax.swing.JInternalFrame.ROOT_PANE_PROPERTY definition code for javax.swing.JInternalFrame.ROOT_PANE_PROPERTY
          Bound property name.
protected  JRootPane sample code for javax.swing.JRootPane definition code for javax.swing.JRootPane rootPane sample code for javax.swing.JInternalFrame.rootPane definition code for javax.swing.JInternalFrame.rootPane
          The JRootPane instance that manages the content pane and optional menu bar for this internal frame, as well as the glass pane.
protected  boolean rootPaneCheckingEnabled sample code for javax.swing.JInternalFrame.rootPaneCheckingEnabled definition code for javax.swing.JInternalFrame.rootPaneCheckingEnabled
          If true then calls to add and setLayout will be forwarded to the contentPane.
protected  String sample code for java.lang.String definition code for java.lang.String title sample code for javax.swing.JInternalFrame.title definition code for javax.swing.JInternalFrame.title
          The title displayed in this internal frame's title bar.
static String sample code for java.lang.String definition code for java.lang.String TITLE_PROPERTY sample code for javax.swing.JInternalFrame.TITLE_PROPERTY definition code for javax.swing.JInternalFrame.TITLE_PROPERTY
          Bound property name.
 
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 javax.swing.WindowConstants sample code for javax.swing.WindowConstants definition code for javax.swing.WindowConstants
DISPOSE_ON_CLOSE sample code for javax.swing.WindowConstants.DISPOSE_ON_CLOSE definition code for javax.swing.WindowConstants.DISPOSE_ON_CLOSE , DO_NOTHING_ON_CLOSE sample code for javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE definition code for javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE , EXIT_ON_CLOSE sample code for javax.swing.WindowConstants.EXIT_ON_CLOSE definition code for javax.swing.WindowConstants.EXIT_ON_CLOSE , HIDE_ON_CLOSE sample code for javax.swing.WindowConstants.HIDE_ON_CLOSE definition code for javax.swing.WindowConstants.HIDE_ON_CLOSE
 
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
JInternalFrame sample code for javax.swing.JInternalFrame.JInternalFrame() definition code for javax.swing.JInternalFrame.JInternalFrame() ()
          Creates a non-resizable, non-closable, non-maximizable, non-iconifiable JInternalFrame with no title.
JInternalFrame sample code for javax.swing.JInternalFrame.JInternalFrame(java.lang.String) definition code for javax.swing.JInternalFrame.JInternalFrame(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  title)
          Creates a non-resizable, non-closable, non-maximizable, non-iconifiable JInternalFrame with the specified title.
JInternalFrame sample code for javax.swing.JInternalFrame.JInternalFrame(java.lang.String, boolean) definition code for javax.swing.JInternalFrame.JInternalFrame(java.lang.String, boolean) (String sample code for java.lang.String definition code for java.lang.String  title, boolean resizable)
          Creates a non-closable, non-maximizable, non-iconifiable JInternalFrame with the specified title and resizability.
JInternalFrame sample code for javax.swing.JInternalFrame.JInternalFrame(java.lang.String, boolean, boolean) definition code for javax.swing.JInternalFrame.JInternalFrame(java.lang.String, boolean, boolean) (String sample code for java.lang.String definition code for java.lang.String  title, boolean resizable, boolean closable)
          Creates a non-maximizable, non-iconifiable JInternalFrame with the specified title, resizability, and closability.
JInternalFrame sample code for javax.swing.JInternalFrame.JInternalFrame(java.lang.String, boolean, boolean, boolean) definition code for javax.swing.JInternalFrame.JInternalFrame(java.lang.String, boolean, boolean, boolean) (String sample code for java.lang.String definition code for java.lang.String  title, boolean resizable, boolean closable, boolean maximizable)
          Creates a non-iconifiable JInternalFrame with the specified title, resizability, closability, and maximizability.
JInternalFrame sample code for javax.swing.JInternalFrame.JInternalFrame(java.lang.String, boolean, boolean, boolean, boolean) definition code for javax.swing.JInternalFrame.JInternalFrame(java.lang.String, boolean, boolean, boolean, boolean) (String sample code for java.lang.String definition code for java.lang.String  title, boolean resizable, boolean closable, boolean maximizable, boolean iconifiable)
          Creates a JInternalFrame with the specified title, resizability, closability, maximizability, and iconifiability.
 
Method Summary
protected  void addImpl sample code for javax.swing.JInternalFrame.addImpl(java.awt.Component, java.lang.Object, int) definition code for javax.swing.JInternalFrame.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 child Component.
 void addInternalFrameListener sample code for javax.swing.JInternalFrame.addInternalFrameListener(javax.swing.event.InternalFrameListener) definition code for javax.swing.JInternalFrame.addInternalFrameListener(javax.swing.event.InternalFrameListener) (InternalFrameListener sample code for javax.swing.event.InternalFrameListener definition code for javax.swing.event.InternalFrameListener  l)
          Adds the specified listener to receive internal frame events from this internal frame.
protected  JRootPane sample code for javax.swing.JRootPane definition code for javax.swing.JRootPane createRootPane sample code for javax.swing.JInternalFrame.createRootPane() definition code for javax.swing.JInternalFrame.createRootPane() ()
          Called by the constructor to set up the JRootPane.
 void dispose sample code for javax.swing.JInternalFrame.dispose() definition code for javax.swing.JInternalFrame.dispose() ()
          Makes this internal frame invisible, unselected, and closed.
 void doDefaultCloseAction sample code for javax.swing.JInternalFrame.doDefaultCloseAction() definition code for javax.swing.JInternalFrame.doDefaultCloseAction() ()
          Fires an INTERNAL_FRAME_CLOSING event and then performs the action specified by the internal frame's default close operation.
protected  void fireInternalFrameEvent sample code for javax.swing.JInternalFrame.fireInternalFrameEvent(int) definition code for javax.swing.JInternalFrame.fireInternalFrameEvent(int) (int id)
          Fires an internal frame event.
 AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext getAccessibleContext sample code for javax.swing.JInternalFrame.getAccessibleContext() definition code for javax.swing.JInternalFrame.getAccessibleContext() ()
          Gets the AccessibleContext associated with this JInternalFrame.
 Container sample code for java.awt.Container definition code for java.awt.Container getContentPane sample code for javax.swing.JInternalFrame.getContentPane() definition code for javax.swing.JInternalFrame.getContentPane() ()
          Returns the content pane for this internal frame.
 int getDefaultCloseOperation sample code for javax.swing.JInternalFrame.getDefaultCloseOperation() definition code for javax.swing.JInternalFrame.getDefaultCloseOperation() ()
          Returns the default operation that occurs when the user initiates a "close" on this internal frame.
 JInternalFrame.JDesktopIcon sample code for javax.swing.JInternalFrame.JDesktopIcon definition code for javax.swing.JInternalFrame.JDesktopIcon getDesktopIcon sample code for javax.swing.JInternalFrame.getDesktopIcon() definition code for javax.swing.JInternalFrame.getDesktopIcon() ()
          Returns the JDesktopIcon used when this JInternalFrame is iconified.
 JDesktopPane sample code for javax.swing.JDesktopPane definition code for javax.swing.JDesktopPane getDesktopPane sample code for javax.swing.JInternalFrame.getDesktopPane() definition code for javax.swing.JInternalFrame.getDesktopPane() ()
          Convenience method that searches the ancestor hierarchy for a JDesktop instance.
 Container sample code for java.awt.Container definition code for java.awt.Container getFocusCycleRootAncestor sample code for javax.swing.JInternalFrame.getFocusCycleRootAncestor() definition code for javax.swing.JInternalFrame.getFocusCycleRootAncestor() ()
          Always returns null because JInternalFrames must always be roots of a focus traversal cycle.
 Component sample code for java.awt.Component definition code for java.awt.Component getFocusOwner sample code for javax.swing.JInternalFrame.getFocusOwner() definition code for javax.swing.JInternalFrame.getFocusOwner() ()
          If this JInternalFrame is active, returns the child that has focus.
 Icon sample code for javax.swing.Icon definition code for javax.swing.Icon getFrameIcon sample code for javax.swing.JInternalFrame.getFrameIcon() definition code for javax.swing.JInternalFrame.getFrameIcon() ()
          Returns the image displayed in the title bar of this internal frame (usually in the top-left corner).
 Component sample code for java.awt.Component definition code for java.awt.Component getGlassPane sample code for javax.swing.JInternalFrame.getGlassPane() definition code for javax.swing.JInternalFrame.getGlassPane() ()
          Returns the glass pane for this internal frame.
 InternalFrameListener sample code for javax.swing.event.InternalFrameListener definition code for javax.swing.event.InternalFrameListener [] getInternalFrameListeners sample code for javax.swing.JInternalFrame.getInternalFrameListeners() definition code for javax.swing.JInternalFrame.getInternalFrameListeners() ()
          Returns an array of all the InternalFrameListeners added to this JInternalFrame with addInternalFrameListener.
 JMenuBar sample code for javax.swing.JMenuBar definition code for javax.swing.JMenuBar getJMenuBar sample code for javax.swing.JInternalFrame.getJMenuBar() definition code for javax.swing.JInternalFrame.getJMenuBar() ()
          Returns the current JMenuBar for this JInternalFrame, or null if no menu bar has been set.
 int getLayer sample code for javax.swing.JInternalFrame.getLayer() definition code for javax.swing.JInternalFrame.getLayer() ()
          Convenience method for getting the layer attribute of this component.
 JLayeredPane sample code for javax.swing.JLayeredPane definition code for javax.swing.JLayeredPane getLayeredPane sample code for javax.swing.JInternalFrame.getLayeredPane() definition code for javax.swing.JInternalFrame.getLayeredPane() ()
          Returns the layered pane for this internal frame.
 JMenuBar sample code for javax.swing.JMenuBar definition code for javax.swing.JMenuBar getMenuBar sample code for javax.swing.JInternalFrame.getMenuBar() definition code for javax.swing.JInternalFrame.getMenuBar() ()
          Deprecated. As of Swing version 1.0.3, replaced by getJMenuBar().
 Component sample code for java.awt.Component definition code for java.awt.Component getMostRecentFocusOwner sample code for javax.swing.JInternalFrame.getMostRecentFocusOwner() definition code for javax.swing.JInternalFrame.getMostRecentFocusOwner() ()
          Returns the child component of this JInternalFrame that will receive the focus when this JInternalFrame is selected.
 Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle getNormalBounds sample code for javax.swing.JInternalFrame.getNormalBounds() definition code for javax.swing.JInternalFrame.getNormalBounds() ()
          If the JInternalFrame is not in maximized state, returns getBounds(); otherwise, returns the bounds that the JInternalFrame would be restored to.
 JRootPane sample code for javax.swing.JRootPane definition code for javax.swing.JRootPane getRootPane sample code for javax.swing.JInternalFrame.getRootPane() definition code for javax.swing.JInternalFrame.getRootPane() ()
          Returns the rootPane object for this internal frame.
 String sample code for java.lang.String definition code for java.lang.String getTitle sample code for javax.swing.JInternalFrame.getTitle() definition code for javax.swing.JInternalFrame.getTitle() ()
          Returns the title of the JInternalFrame.
 InternalFrameUI sample code for javax.swing.plaf.InternalFrameUI definition code for javax.swing.plaf.InternalFrameUI getUI sample code for javax.swing.JInternalFrame.getUI() definition code for javax.swing.JInternalFrame.getUI() ()
          Returns the look-and-feel object that renders this component.
 String sample code for java.lang.String definition code for java.lang.String getUIClassID sample code for javax.swing.JInternalFrame.getUIClassID() definition code for javax.swing.JInternalFrame.getUIClassID() ()
          Returns the name of the look-and-feel class that renders this component.
 String sample code for java.lang.String definition code for java.lang.String getWarningString sample code for javax.swing.JInternalFrame.getWarningString() definition code for javax.swing.JInternalFrame.getWarningString() ()
          Gets the warning string that is displayed with this internal frame.
 void hide sample code for javax.swing.JInternalFrame.hide() definition code for javax.swing.JInternalFrame.hide() ()
           
 boolean isClosable sample code for javax.swing.JInternalFrame.isClosable() definition code for javax.swing.JInternalFrame.isClosable() ()
          Returns whether this JInternalFrame can be closed by some user action.
 boolean isClosed sample code for javax.swing.JInternalFrame.isClosed() definition code for javax.swing.JInternalFrame.isClosed() ()
          Returns whether this JInternalFrame is currently closed.
 boolean isFocusCycleRoot sample code for javax.swing.JInternalFrame.isFocusCycleRoot() definition code for javax.swing.JInternalFrame.isFocusCycleRoot() ()
          Always returns true because all JInternalFrames must be roots of a focus traversal cycle.
 boolean isIcon sample code for javax.swing.JInternalFrame.isIcon() definition code for javax.swing.JInternalFrame.isIcon() ()
          Returns whether the JInternalFrame is currently iconified.
 boolean isIconifiable sample code for javax.swing.JInternalFrame.isIconifiable() definition code for javax.swing.JInternalFrame.isIconifiable() ()
          Gets the iconable property, which by default is false.
 boolean isMaximizable sample code for javax.swing.JInternalFrame.isMaximizable() definition code for javax.swing.JInternalFrame.isMaximizable() ()
          Gets the value of the maximizable property.
 boolean isMaximum sample code for javax.swing.JInternalFrame.isMaximum() definition code for javax.swing.JInternalFrame.isMaximum() ()
          Returns whether the JInternalFrame is currently maximized.
 boolean isResizable sample code for javax.swing.JInternalFrame.isResizable() definition code for javax.swing.JInternalFrame.isResizable() ()
          Returns whether the JInternalFrame can be resized by some user action.
protected  boolean isRootPaneCheckingEnabled sample code for javax.swing.JInternalFrame.isRootPaneCheckingEnabled() definition code for javax.swing.JInternalFrame.isRootPaneCheckingEnabled() ()
          Returns whether calls to add and setLayout are forwarded to the contentPane.
 boolean isSelected sample code for javax.swing.JInternalFrame.isSelected() definition code for javax.swing.JInternalFrame.isSelected() ()
          Returns whether the JInternalFrame is the currently "selected" or active frame.
 void moveToBack sample code for javax.swing.JInternalFrame.moveToBack() definition code for javax.swing.JInternalFrame.moveToBack() ()
          Convenience method that moves this component to position -1 if its parent is a JLayeredPane.
 void moveToFront sample code for javax.swing.JInternalFrame.moveToFront() definition code for javax.swing.JInternalFrame.moveToFront() ()
          Convenience method that moves this component to position 0 if its parent is a JLayeredPane.
 void pack sample code for javax.swing.JInternalFrame.pack() definition code for javax.swing.JInternalFrame.pack() ()
          Causes subcomponents of this JInternalFrame to be laid out at their preferred size.
protected  void paintComponent sample code for javax.swing.JInternalFrame.paintComponent(java.awt.Graphics) definition code for javax.swing.JInternalFrame.paintComponent(java.awt.Graphics) (Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g)
          Overridden to allow optimized painting when the internal frame is being dragged.
protected  String sample code for java.lang.String definition code for java.lang.String paramString sample code for javax.swing.JInternalFrame.paramString() definition code for javax.swing.JInternalFrame.paramString() ()
          Returns a string representation of this JInternalFrame.
 void remove sample code for javax.swing.JInternalFrame.remove(java.awt.Component) definition code for javax.swing.JInternalFrame.remove(java.awt.Component) (Component sample code for java.awt.Component definition code for java.awt.Component  comp)
          Removes the specified component from the container.
 void removeInternalFrameListener sample code for javax.swing.JInternalFrame.removeInternalFrameListener(javax.swing.event.InternalFrameListener) definition code for javax.swing.JInternalFrame.removeInternalFrameListener(javax.swing.event.InternalFrameListener) (InternalFrameListener sample code for javax.swing.event.InternalFrameListener definition code for javax.swing.event.InternalFrameListener  l)
          Removes the specified internal frame listener so that it no longer receives internal frame events from this internal frame.
 void reshape sample code for javax.swing.JInternalFrame.reshape(int, int, int, int) definition code for javax.swing.JInternalFrame.reshape(int, int, int, int) (int x, int y, int width, int height)
          Moves and resizes this component.
 void restoreSubcomponentFocus sample code for javax.swing.JInternalFrame.restoreSubcomponentFocus() definition code for javax.swing.JInternalFrame.restoreSubcomponentFocus() ()
          Requests the internal frame to restore focus to the last subcomponent that had focus.
 void setClosable sample code for javax.swing.JInternalFrame.setClosable(boolean) definition code for javax.swing.JInternalFrame.setClosable(boolean) (boolean b)
          Sets whether this JInternalFrame can be closed by some user action.
 void setClosed sample code for javax.swing.JInternalFrame.setClosed(boolean) definition code for javax.swing.JInternalFrame.setClosed(boolean) (boolean b)
          Closes this internal frame if the argument is true.
 void setContentPane sample code for javax.swing.JInternalFrame.setContentPane(java.awt.Container) definition code for javax.swing.JInternalFrame.setContentPane(java.awt.Container) (Container sample code for java.awt.Container definition code for java.awt.Container  c)
          Sets this JInternalFrame's contentPane property.
 void setDefaultCloseOperation sample code for javax.swing.JInternalFrame.setDefaultCloseOperation(int) definition code for javax.swing.JInternalFrame.setDefaultCloseOperation(int) (int operation)
          Sets the operation that will happen by default when the user initiates a "close" on this internal frame.
 void setDesktopIcon sample code for javax.swing.JInternalFrame.setDesktopIcon(javax.swing.JInternalFrame.JDesktopIcon) definition code for javax.swing.JInternalFrame.setDesktopIcon(javax.swing.JInternalFrame.JDesktopIcon) (JInternalFrame.JDesktopIcon sample code for javax.swing.JInternalFrame.JDesktopIcon definition code for javax.swing.JInternalFrame.JDesktopIcon  d)
          Sets the JDesktopIcon associated with this JInternalFrame.
 void setFocusCycleRoot sample code for javax.swing.JInternalFrame.setFocusCycleRoot(boolean) definition code for javax.swing.JInternalFrame.setFocusCycleRoot(boolean) (boolean focusCycleRoot)
          Does nothing because JInternalFrames must always be roots of a focus traversal cycle.
 void setFrameIcon sample code for javax.swing.JInternalFrame.setFrameIcon(javax.swing.Icon) definition code for javax.swing.JInternalFrame.setFrameIcon(javax.swing.Icon) (Icon sample code for javax.swing.Icon definition code for javax.swing.Icon  icon)
          Sets an image to be displayed in the titlebar of this internal frame (usually in the top-left corner).
 void setGlassPane sample code for javax.swing.JInternalFrame.setGlassPane(java.awt.Component) definition code for javax.swing.JInternalFrame.setGlassPane(java.awt.Component) (Component sample code for java.awt.Component definition code for java.awt.Component  glass)
          Sets this JInternalFrame's glassPane property.
 void setIcon sample code for javax.swing.JInternalFrame.setIcon(boolean) definition code for javax.swing.JInternalFrame.setIcon(boolean) (boolean b)
          Iconifies or de-iconifies this internal frame, if the look and feel supports iconification.
 void setIconifiable sample code for javax.swing.JInternalFrame.setIconifiable(boolean) definition code for javax.swing.JInternalFrame.setIconifiable(boolean) (boolean b)
          Sets the iconable property, which must be true for the user to be able to make the JInternalFrame an icon.
 void setJMenuBar sample code for javax.swing.JInternalFrame.setJMenuBar(javax.swing.JMenuBar) definition code for javax.swing.JInternalFrame.setJMenuBar(javax.swing.JMenuBar) (JMenuBar sample code for javax.swing.JMenuBar definition code for javax.swing.JMenuBar  m)
          Sets the menuBar property for this JInternalFrame.
 void setLayer sample code for javax.swing.JInternalFrame.setLayer(int) definition code for javax.swing.JInternalFrame.setLayer(int) (int layer)
          Convenience method for setting the layer attribute of this component.
 void setLayer sample code for javax.swing.JInternalFrame.setLayer(java.lang.Integer) definition code for javax.swing.JInternalFrame.setLayer(java.lang.Integer) (Integer sample code for java.lang.Integer definition code for java.lang.Integer  layer)
          Convenience method for setting the layer attribute of this component.
 void setLayeredPane sample code for javax.swing.JInternalFrame.setLayeredPane(javax.swing.JLayeredPane) definition code for javax.swing.JInternalFrame.setLayeredPane(javax.swing.JLayeredPane) (JLayeredPane sample code for javax.swing.JLayeredPane definition code for javax.swing.JLayeredPane  layered)
          Sets this JInternalFrame's layeredPane property.
 void setLayout sample code for javax.swing.JInternalFrame.setLayout(java.awt.LayoutManager) definition code for javax.swing.JInternalFrame.setLayout(java.awt.LayoutManager) (LayoutManager sample code for java.awt.LayoutManager definition code for java.awt.LayoutManager  manager)
          Ensures that, by default, the layout of this component cannot be set.
 void setMaximizable sample code for javax.swing.JInternalFrame.setMaximizable(boolean) definition code for javax.swing.JInternalFrame.setMaximizable(boolean) (boolean b)
          Sets the maximizable property, which determines whether the JInternalFrame can be maximized by some user action.
 void setMaximum sample code for javax.swing.JInternalFrame.setMaximum(boolean) definition code for javax.swing.JInternalFrame.setMaximum(boolean) (boolean b)
          Maximizes and restores this internal frame.
 void setMenuBar sample code for javax.swing.JInternalFrame.setMenuBar(javax.swing.JMenuBar) definition code for javax.swing.JInternalFrame.setMenuBar(javax.swing.JMenuBar) (JMenuBar sample code for javax.swing.JMenuBar definition code for javax.swing.JMenuBar  m)
          Deprecated. As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar m).
 void setNormalBounds sample code for javax.swing.JInternalFrame.setNormalBounds(java.awt.Rectangle) definition code for javax.swing.JInternalFrame.setNormalBounds(java.awt.Rectangle) (Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle  r)
          Sets the normal bounds for this internal frame, the bounds that this internal frame would be restored to from its maximized state.
 void setResizable sample code for javax.swing.JInternalFrame.setResizable(boolean) definition code for javax.swing.JInternalFrame.setResizable(boolean) (boolean b)
          Sets whether the JInternalFrame can be resized by some user action.
protected  void setRootPane sample code for javax.swing.JInternalFrame.setRootPane(javax.swing.JRootPane) definition code for javax.swing.JInternalFrame.setRootPane(javax.swing.JRootPane) (JRootPane sample code for javax.swing.JRootPane definition code for javax.swing.JRootPane  root)
          Sets the rootPane property for this JInternalFrame.
protected  void setRootPaneCheckingEnabled sample code for javax.swing.JInternalFrame.setRootPaneCheckingEnabled(boolean) definition code for javax.swing.JInternalFrame.setRootPaneCheckingEnabled(boolean) (boolean enabled)
          Sets whether calls to add and setLayout are forwarded to the contentPane.
 void setSelected sample code for javax.swing.JInternalFrame.setSelected(boolean) definition code for javax.swing.JInternalFrame.setSelected(boolean) (boolean selected)
          Selects or deselects the internal frame if it's showing.
 void setTitle sample code for javax.swing.JInternalFrame.setTitle(java.lang.String) definition code for javax.swing.JInternalFrame.setTitle(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  title)
          Sets the JInternalFrame title.
 void setUI sample code for javax.swing.JInternalFrame.setUI(javax.swing.plaf.InternalFrameUI) definition code for javax.swing.JInternalFrame.setUI(javax.swing.plaf.InternalFrameUI) (InternalFrameUI sample code for javax.swing.plaf.InternalFrameUI definition code for javax.swing.plaf.InternalFrameUI  ui)
          Sets the UI delegate for this JInternalFrame.
 void show sample code for javax.swing.JInternalFrame.show() definition code for javax.swing.JInternalFrame.show() ()
          If the internal frame is not visible, brings the internal frame to the front, makes it visible, and attempts to select it.
 void toBack sample code for javax.swing.JInternalFrame.toBack() definition code for javax.swing.JInternalFrame.toBack() ()
          Sends this internal frame to the back.
 void toFront sample code for javax.swing.JInternalFrame.toFront() definition code for javax.swing.JInternalFrame.toFront() ()
          Brings this internal frame to the front.
 void updateUI sample code for javax.swing.JInternalFrame.updateUI() definition code for javax.swing.JInternalFrame.updateUI() ()
          Notification from the UIManager that the look and feel 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() , 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() , isValidateRoot sample code for javax.swing.JComponent.isValidateRoot() definition code for javax.swing.JComponent.isValidateRoot() , 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) , paintChildren sample code for javax.swing.JComponent.paintChildren(java.awt.Graphics) definition code for javax.swing.JComponent.paintChildren(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() , 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(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) , remove sample code for java.awt.Container.remove(int) definition code for java.awt.Container.remove(int) , removeAll sample code for java.awt.Container.removeAll() definition code for java.awt.Container.removeAll() , 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) , 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) , 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() , 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() , 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(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

rootPane sample code for javax.swing.JInternalFrame.rootPane

protected JRootPane sample code for javax.swing.JRootPane definition code for javax.swing.JRootPane  rootPane
The JRootPane instance that manages the content pane and optional menu bar for this internal frame, as well as the glass pane.

See Also:
JRootPane sample code for javax.swing.JRootPane definition code for javax.swing.JRootPane , RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer

rootPaneCheckingEnabled sample code for javax.swing.JInternalFrame.rootPaneCheckingEnabled

protected boolean rootPaneCheckingEnabled
If true then calls to add and setLayout will be forwarded to the contentPane. This is initially false, but is set to true when the JInternalFrame is constructed.

See Also:
isRootPaneCheckingEnabled() sample code for javax.swing.JInternalFrame.isRootPaneCheckingEnabled() definition code for javax.swing.JInternalFrame.isRootPaneCheckingEnabled() , setRootPaneCheckingEnabled(boolean) sample code for javax.swing.JInternalFrame.setRootPaneCheckingEnabled(boolean) definition code for javax.swing.JInternalFrame.setRootPaneCheckingEnabled(boolean) , RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer

closable sample code for javax.swing.JInternalFrame.closable

protected boolean closable
The frame can be closed.


isClosed sample code for javax.swing.JInternalFrame.isClosed

protected boolean isClosed
The frame has been closed.


maximizable sample code for javax.swing.JInternalFrame.maximizable

protected boolean maximizable
The frame can be expanded to the size of the desktop pane.


isMaximum sample code for javax.swing.JInternalFrame.isMaximum

protected boolean isMaximum
The frame has been expanded to its maximum size.

See Also:
maximizable sample code for javax.swing.JInternalFrame.maximizable definition code for javax.swing.JInternalFrame.maximizable

iconable sample code for javax.swing.JInternalFrame.iconable

protected boolean iconable
The frame can "iconified" (shrunk down and displayed as an icon-image).

See Also:
JInternalFrame.JDesktopIcon sample code for javax.swing.JInternalFrame.JDesktopIcon definition code for javax.swing.JInternalFrame.JDesktopIcon , setIconifiable(boolean) sample code for javax.swing.JInternalFrame.setIconifiable(boolean) definition code for javax.swing.JInternalFrame.setIconifiable(boolean)

isIcon sample code for javax.swing.JInternalFrame.isIcon

protected boolean isIcon
The frame has been iconified.

See Also:
isIcon() sample code for javax.swing.JInternalFrame.isIcon() definition code for javax.swing.JInternalFrame.isIcon()

resizable sample code for javax.swing.JInternalFrame.resizable

protected boolean resizable
The frame's size can be changed.


isSelected sample code for javax.swing.JInternalFrame.isSelected

protected boolean isSelected
The frame is currently selected.


frameIcon sample code for javax.swing.JInternalFrame.frameIcon

protected Icon sample code for javax.swing.Icon definition code for javax.swing.Icon  frameIcon
The icon shown in the top-left corner of this internal frame.


title sample code for javax.swing.JInternalFrame.title

protected String sample code for java.lang.String definition code for java.lang.String  title
The title displayed in this internal frame's title bar.


desktopIcon sample code for javax.swing.JInternalFrame.desktopIcon

protected JInternalFrame.JDesktopIcon sample code for javax.swing.JInternalFrame.JDesktopIcon definition code for javax.swing.JInternalFrame.JDesktopIcon  desktopIcon
The icon that is displayed when this internal frame is iconified.

See Also:
iconable sample code for javax.swing.JInternalFrame.iconable definition code for javax.swing.JInternalFrame.iconable

CONTENT_PANE_PROPERTY sample code for javax.swing.JInternalFrame.CONTENT_PANE_PROPERTY

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

See Also:
Constant Field Values

MENU_BAR_PROPERTY sample code for javax.swing.JInternalFrame.MENU_BAR_PROPERTY

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

See Also:
Constant Field Values

TITLE_PROPERTY sample code for javax.swing.JInternalFrame.TITLE_PROPERTY

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

See Also:
Constant Field Values

LAYERED_PANE_PROPERTY sample code for javax.swing.JInternalFrame.LAYERED_PANE_PROPERTY

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

See Also:
Constant Field Values

ROOT_PANE_PROPERTY sample code for javax.swing.JInternalFrame.ROOT_PANE_PROPERTY

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

See Also:
Constant Field Values

GLASS_PANE_PROPERTY sample code for javax.swing.JInternalFrame.GLASS_PANE_PROPERTY

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

See Also:
Constant Field Values

FRAME_ICON_PROPERTY sample code for javax.swing.JInternalFrame.FRAME_ICON_PROPERTY

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

See Also:
Constant Field Values

IS_SELECTED_PROPERTY sample code for javax.swing.JInternalFrame.IS_SELECTED_PROPERTY

public static final String sample code for java.lang.String definition code for java.lang.String  IS_SELECTED_PROPERTY
Constrained property name indicated that this frame has selected status.

See Also:
Constant Field Values

IS_CLOSED_PROPERTY sample code for javax.swing.JInternalFrame.IS_CLOSED_PROPERTY

public static final String sample code for java.lang.String definition code for java.lang.String  IS_CLOSED_PROPERTY
Constrained property name indicating that the internal frame is closed.

See Also:
Constant Field Values

IS_MAXIMUM_PROPERTY sample code for javax.swing.JInternalFrame.IS_MAXIMUM_PROPERTY

public static final String sample code for java.lang.String definition code for java.lang.String  IS_MAXIMUM_PROPERTY
Constrained property name indicating that the internal frame is maximized.

See Also:
Constant Field Values

IS_ICON_PROPERTY sample code for javax.swing.JInternalFrame.IS_ICON_PROPERTY

public static final String sample code for java.lang.String definition code for java.lang.String  IS_ICON_PROPERTY
Constrained property name indicating that the internal frame is iconified.

See Also:
Constant Field Values
Constructor Detail

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

public JInternalFrame()
Creates a non-resizable, non-closable, non-maximizable, non-iconifiable JInternalFrame with no title.


JInternalFrame sample code for javax.swing.JInternalFrame(java.lang.String) definition code for javax.swing.JInternalFrame(java.lang.String)

public JInternalFrame(String sample code for java.lang.String definition code for java.lang.String  title)
Creates a non-resizable, non-closable, non-maximizable, non-iconifiable JInternalFrame with the specified title. Note that passing in a null title results in unspecified behavior and possibly an exception.

Parameters:
title - the non-null String to display in the title bar

JInternalFrame sample code for javax.swing.JInternalFrame(java.lang.String, boolean) definition code for javax.swing.JInternalFrame(java.lang.String, boolean)

public JInternalFrame(String sample code for java.lang.String definition code for java.lang.String  title,
                      boolean resizable)
Creates a non-closable, non-maximizable, non-iconifiable JInternalFrame with the specified title and resizability.

Parameters:
title - the String to display in the title bar
resizable - if true, the internal frame can be resized

JInternalFrame sample code for javax.swing.JInternalFrame(java.lang.String, boolean, boolean) definition code for javax.swing.JInternalFrame(java.lang.String, boolean, boolean)

public JInternalFrame(String sample code for java.lang.String definition code for java.lang.String  title,
                      boolean resizable,
                      boolean closable)
Creates a non-maximizable, non-iconifiable JInternalFrame with the specified title, resizability, and closability.

Parameters:
title - the String to display in the title bar
resizable - if true, the internal frame can be resized
closable - if true, the internal frame can be closed

JInternalFrame sample code for javax.swing.JInternalFrame(java.lang.String, boolean, boolean, boolean) definition code for javax.swing.JInternalFrame(java.lang.String, boolean, boolean, boolean)

public JInternalFrame(String sample code for java.lang.String definition code for java.lang.String  title,
                      boolean resizable,
                      boolean closable,
                      boolean maximizable)
Creates a non-iconifiable JInternalFrame with the specified title, resizability, closability, and maximizability.

Parameters:
title - the String to display in the title bar
resizable - if true, the internal frame can be resized
closable - if true, the internal frame can be closed
maximizable - if true, the internal frame can be maximized

JInternalFrame sample code for javax.swing.JInternalFrame(java.lang.String, boolean, boolean, boolean, boolean) definition code for javax.swing.JInternalFrame(java.lang.String, boolean, boolean, boolean, boolean)

public JInternalFrame(String sample code for java.lang.String definition code for java.lang.String  title,
                      boolean resizable,
                      boolean closable,
                      boolean maximizable,
                      boolean iconifiable)
Creates a JInternalFrame with the specified title, resizability, closability, maximizability, and iconifiability. All JInternalFrame constructors use this one.

Parameters:
title - the String to display in the title bar
resizable - if true, the internal frame can be resized
closable - if true, the internal frame can be closed
maximizable - if true, the internal frame can be maximized
iconifiable - if true, the internal frame can be iconified
Method Detail

createRootPane sample code for javax.swing.JInternalFrame.createRootPane() definition code for javax.swing.JInternalFrame.createRootPane()

protected JRootPane sample code for javax.swing.JRootPane definition code for javax.swing.JRootPane  createRootPane()
Called by the constructor to set up the JRootPane.

Returns:
a new JRootPane
See Also:
JRootPane sample code for javax.swing.JRootPane definition code for javax.swing.JRootPane

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

public InternalFrameUI sample code for javax.swing.plaf.InternalFrameUI definition code for javax.swing.plaf.InternalFrameUI  getUI()
Returns the look-and-feel object that renders this component.

Returns:
the InternalFrameUI object that renders this component

setUI sample code for javax.swing.JInternalFrame.setUI(javax.swing.plaf.InternalFrameUI) definition code for javax.swing.JInternalFrame.setUI(javax.swing.plaf.InternalFrameUI)

public void setUI(InternalFrameUI sample code for javax.swing.plaf.InternalFrameUI definition code for javax.swing.plaf.InternalFrameUI  ui)
Sets the UI delegate for this JInternalFrame.

Parameters:
ui - the UI delegate

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

public void updateUI()
Notification from the UIManager that the look and feel 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.JInternalFrame.getUIClassID() definition code for javax.swing.JInternalFrame.getUIClassID()

public String sample code for java.lang.String definition code for java.lang.String  getUIClassID()
Returns the name of the look-and-feel 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 "InternalFrameUI"
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)

isRootPaneCheckingEnabled sample code for javax.swing.JInternalFrame.isRootPaneCheckingEnabled() definition code for javax.swing.JInternalFrame.isRootPaneCheckingEnabled()

protected boolean isRootPaneCheckingEnabled()
Returns whether calls to add and setLayout are forwarded to the contentPane.

Returns:
true if add and setLayout are fowarded; false otherwise
See Also:
addImpl(java.awt.Component, java.lang.Object, int) sample code for javax.swing.JInternalFrame.addImpl(java.awt.Component, java.lang.Object, int) definition code for javax.swing.JInternalFrame.addImpl(java.awt.Component, java.lang.Object, int) , setLayout(java.awt.LayoutManager) sample code for javax.swing.JInternalFrame.setLayout(java.awt.LayoutManager) definition code for javax.swing.JInternalFrame.setLayout(java.awt.LayoutManager) , setRootPaneCheckingEnabled(boolean) sample code for javax.swing.JInternalFrame.setRootPaneCheckingEnabled(boolean) definition code for javax.swing.JInternalFrame.setRootPaneCheckingEnabled(boolean) , RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer

setRootPaneCheckingEnabled sample code for javax.swing.JInternalFrame.setRootPaneCheckingEnabled(boolean) definition code for javax.swing.JInternalFrame.setRootPaneCheckingEnabled(boolean)

protected void setRootPaneCheckingEnabled(boolean enabled)
Sets whether calls to add and setLayout are forwarded to the contentPane.

Parameters:
enabled - true if add and setLayout are forwarded, false if they should operate directly on the JInternalFrame.
See Also:
addImpl(java.awt.Component, java.lang.Object, int) sample code for javax.swing.JInternalFrame.addImpl(java.awt.Component, java.lang.Object, int) definition code for javax.swing.JInternalFrame.addImpl(java.awt.Component, java.lang.Object, int) , setLayout(java.awt.LayoutManager) sample code for javax.swing.JInternalFrame.setLayout(java.awt.LayoutManager) definition code for javax.swing.JInternalFrame.setLayout(java.awt.LayoutManager) , isRootPaneCheckingEnabled() sample code for javax.swing.JInternalFrame.isRootPaneCheckingEnabled() definition code for javax.swing.JInternalFrame.isRootPaneCheckingEnabled() , RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer

addImpl sample code for javax.swing.JInternalFrame.addImpl(java.awt.Component, java.lang.Object, int) definition code for javax.swing.JInternalFrame.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 child Component. This method is overridden to conditionally forwad calls to the contentPane. By default, children are added to the contentPane instead of the frame, refer to RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer for details.

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 be enhanced
constraints - the constraints to be respected
index - the index
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if index is invalid
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if adding the container's parent to itself
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if adding a window to a container
See Also:
setRootPaneCheckingEnabled(boolean) sample code for javax.swing.JInternalFrame.setRootPaneCheckingEnabled(boolean) definition code for javax.swing.JInternalFrame.setRootPaneCheckingEnabled(boolean) , RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer

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

public void remove(Component sample code for java.awt.Component definition code for java.awt.Component  comp)
Removes the specified component from the container. If comp is not a child of the JInternalFrame this will forward the call to the contentPane.

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:
comp - the component to be removed
Throws:
NullPointerException sample code for java.lang.NullPointerException definition code for java.lang.NullPointerException - if comp is null
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) , RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer

setLayout sample code for javax.swing.JInternalFrame.setLayout(java.awt.LayoutManager) definition code for javax.swing.JInternalFrame.setLayout(java.awt.LayoutManager)

public void setLayout(LayoutManager sample code for java.awt.LayoutManager definition code for java.awt.LayoutManager  manager)
Ensures that, by default, the layout of this component cannot be set. Overridden to conditionally forward the call to the contentPane. Refer to RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer for more information.

Overrides:
setLayout sample code for java.awt.Container.setLayout(java.awt.LayoutManager) definition code for java.awt.Container.setLayout(java.awt.LayoutManager) in class Container sample code for java.awt.Container definition code for java.awt.Container
Parameters:
manager - the LayoutManager
See Also:
setRootPaneCheckingEnabled(boolean) sample code for javax.swing.JInternalFrame.setRootPaneCheckingEnabled(boolean) definition code for javax.swing.JInternalFrame.setRootPaneCheckingEnabled(boolean)

getMenuBar sample code for javax.swing.JInternalFrame.getMenuBar() definition code for javax.swing.JInternalFrame.getMenuBar()

@Deprecated
public JMenuBar sample code for javax.swing.JMenuBar definition code for javax.swing.JMenuBar  getMenuBar()
Deprecated. As of Swing version 1.0.3, replaced by getJMenuBar().

Returns the current JMenuBar for this JInternalFrame, or null if no menu bar has been set.

Returns:
the current menu bar, or null if none has been set

getJMenuBar sample code for javax.swing.JInternalFrame.getJMenuBar() definition code for javax.swing.JInternalFrame.getJMenuBar()

public JMenuBar sample code for javax.swing.JMenuBar definition code for javax.swing.JMenuBar  getJMenuBar()
Returns the current JMenuBar for this JInternalFrame, or null if no menu bar has been set.

Returns:
the JMenuBar used by this internal frame
See Also:
setJMenuBar(javax.swing.JMenuBar) sample code for javax.swing.JInternalFrame.setJMenuBar(javax.swing.JMenuBar) definition code for javax.swing.JInternalFrame.setJMenuBar(javax.swing.JMenuBar)

setMenuBar sample code for javax.swing.JInternalFrame.setMenuBar(javax.swing.JMenuBar) definition code for javax.swing.JInternalFrame.setMenuBar(javax.swing.JMenuBar)

@Deprecated
public void setMenuBar(JMenuBar sample code for javax.swing.JMenuBar definition code for javax.swing.JMenuBar  m)
Deprecated. As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar m).

Sets the menuBar property for this JInternalFrame.

Parameters:
m - the JMenuBar to use in this internal frame
See Also:
getJMenuBar() sample code for javax.swing.JInternalFrame.getJMenuBar() definition code for javax.swing.JInternalFrame.getJMenuBar()

setJMenuBar sample code for javax.swing.JInternalFrame.setJMenuBar(javax.swing.JMenuBar) definition code for javax.swing.JInternalFrame.setJMenuBar(javax.swing.JMenuBar)

public void setJMenuBar(JMenuBar sample code for javax.swing.JMenuBar definition code for javax.swing.JMenuBar  m)
Sets the menuBar property for this JInternalFrame.

Parameters:
m - the JMenuBar to use in this internal frame
See Also:
getJMenuBar() sample code for javax.swing.JInternalFrame.getJMenuBar() definition code for javax.swing.JInternalFrame.getJMenuBar()

getContentPane sample code for javax.swing.JInternalFrame.getContentPane() definition code for javax.swing.JInternalFrame.getContentPane()

public Container sample code for java.awt.Container definition code for java.awt.Container  getContentPane()
Returns the content pane for this internal frame.

Specified by:
getContentPane sample code for javax.swing.RootPaneContainer.getContentPane() definition code for javax.swing.RootPaneContainer.getContentPane() in interface RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer
Returns:
the content pane
See Also:
RootPaneContainer.setContentPane(java.awt.Container) sample code for javax.swing.RootPaneContainer.setContentPane(java.awt.Container) definition code for javax.swing.RootPaneContainer.setContentPane(java.awt.Container)

setContentPane sample code for javax.swing.JInternalFrame.setContentPane(java.awt.Container) definition code for javax.swing.JInternalFrame.setContentPane(java.awt.Container)

public void setContentPane(Container sample code for java.awt.Container definition code for java.awt.Container  c)
Sets this JInternalFrame's contentPane property.

Specified by:
setContentPane sample code for javax.swing.RootPaneContainer.setContentPane(java.awt.Container) definition code for javax.swing.RootPaneContainer.setContentPane(java.awt.Container) in interface RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer
Parameters:
c - the content pane for this internal frame
Throws:
IllegalComponentStateException sample code for java.awt.IllegalComponentStateException definition code for java.awt.IllegalComponentStateException - (a runtime exception) if the content pane parameter is null
See Also:
RootPaneContainer.getContentPane() sample code for javax.swing.RootPaneContainer.getContentPane() definition code for javax.swing.RootPaneContainer.getContentPane()

getLayeredPane sample code for javax.swing.JInternalFrame.getLayeredPane() definition code for javax.swing.JInternalFrame.getLayeredPane()

public JLayeredPane sample code for javax.swing.JLayeredPane definition code for javax.swing.JLayeredPane  getLayeredPane()
Returns the layered pane for this internal frame.

Specified by:
getLayeredPane sample code for javax.swing.RootPaneContainer.getLayeredPane() definition code for javax.swing.RootPaneContainer.getLayeredPane() in interface RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer
Returns:
a JLayeredPane object
See Also:
RootPaneContainer.setLayeredPane(javax.swing.JLayeredPane) sample code for javax.swing.RootPaneContainer.setLayeredPane(javax.swing.JLayeredPane) definition code for javax.swing.RootPaneContainer.setLayeredPane(javax.swing.JLayeredPane) , RootPaneContainer.getLayeredPane() sample code for javax.swing.RootPaneContainer.getLayeredPane() definition code for javax.swing.RootPaneContainer.getLayeredPane()

setLayeredPane sample code for javax.swing.JInternalFrame.setLayeredPane(javax.swing.JLayeredPane) definition code for javax.swing.JInternalFrame.setLayeredPane(javax.swing.JLayeredPane)

public void setLayeredPane(JLayeredPane sample code for javax.swing.JLayeredPane definition code for javax.swing.JLayeredPane  layered)
Sets this JInternalFrame's layeredPane property.

Specified by:
setLayeredPane sample code for javax.swing.RootPaneContainer.setLayeredPane(javax.swing.JLayeredPane) definition code for javax.swing.RootPaneContainer.setLayeredPane(javax.swing.JLayeredPane) in interface RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer
Parameters:
layered - the JLayeredPane for this internal frame
Throws:
IllegalComponentStateException sample code for java.awt.IllegalComponentStateException definition code for java.awt.IllegalComponentStateException - (a runtime exception) if the layered pane parameter is null
See Also:
RootPaneContainer.setLayeredPane(javax.swing.JLayeredPane) sample code for javax.swing.RootPaneContainer.setLayeredPane(javax.swing.JLayeredPane) definition code for javax.swing.RootPaneContainer.setLayeredPane(javax.swing.JLayeredPane)

getGlassPane sample code for javax.swing.JInternalFrame.getGlassPane() definition code for javax.swing.JInternalFrame.getGlassPane()

public Component sample code for java.awt.Component definition code for java.awt.Component  getGlassPane()
Returns the glass pane for this internal frame.

Specified by:
getGlassPane sample code for javax.swing.RootPaneContainer.getGlassPane() definition code for javax.swing.RootPaneContainer.getGlassPane() in interface RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer
Returns:
the glass pane
See Also:
RootPaneContainer.setGlassPane(java.awt.Component) sample code for javax.swing.RootPaneContainer.setGlassPane(java.awt.Component) definition code for javax.swing.RootPaneContainer.setGlassPane(java.awt.Component)

setGlassPane sample code for javax.swing.JInternalFrame.setGlassPane(java.awt.Component) definition code for javax.swing.JInternalFrame.setGlassPane(java.awt.Component)

public void setGlassPane(Component sample code for java.awt.Component definition code for java.awt.Component  glass)
Sets this JInternalFrame's glassPane property.

Specified by:
setGlassPane sample code for javax.swing.RootPaneContainer.setGlassPane(java.awt.Component) definition code for javax.swing.RootPaneContainer.setGlassPane(java.awt.Component) in interface RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer
Parameters:
glass - the glass pane for this internal frame
See Also:
RootPaneContainer.getGlassPane() sample code for javax.swing.RootPaneContainer.getGlassPane() definition code for javax.swing.RootPaneContainer.getGlassPane()

getRootPane sample code for javax.swing.JInternalFrame.getRootPane() definition code for javax.swing.JInternalFrame.getRootPane()

public JRootPane sample code for javax.swing.JRootPane definition code for javax.swing.JRootPane  getRootPane()
Returns the rootPane object for this internal frame.

Specified by:
getRootPane sample code for javax.swing.RootPaneContainer.getRootPane() definition code for javax.swing.RootPaneContainer.getRootPane() in interface RootPaneContainer sample code for javax.swing.RootPaneContainer definition code for javax.swing.RootPaneContainer
Overrides:
getRootPane sample code for javax.swing.JComponent.getRootPane() definition code for javax.swing.JComponent.getRootPane() in class JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent
Returns:
the rootPane property
See Also:
RootPaneContainer.getRootPane() sample code for javax.swing.RootPaneContainer.getRootPane() definition code for javax.swing.RootPaneContainer.getRootPane()

setRootPane sample code for javax.swing.JInternalFrame.setRootPane(javax.swing.JRootPane) definition code for javax.swing.JInternalFrame.setRootPane(javax.swing.JRootPane)

protected void setRootPane(JRootPane sample code for javax.swing.JRootPane definition code for javax.swing.JRootPane  root)
Sets the rootPane property for this JInternalFrame. This method is called by the constructor.

Parameters:
root - the new JRootPane object

setClosable sample code for javax.swing.JInternalFrame.setClosable(boolean) definition code for javax.swing.JInternalFrame.setClosable(boolean)

public void setClosable(boolean b)
Sets whether this JInternalFrame can be closed by some user action.

Parameters:
b - a boolean value, where true means this internal frame can be closed

isClosable sample code for javax.swing.JInternalFrame.isClosable() definition code for javax.swing.JInternalFrame.isClosable()

public boolean isClosable()
Returns whether this JInternalFrame can be closed by some user action.

Returns:
true if this internal frame can be closed

isClosed sample code for javax.swing.JInternalFrame.isClosed() definition code for javax.swing.JInternalFrame.isClosed()

public boolean isClosed()
Returns whether this JInternalFrame is currently closed.

Returns:
true if this internal frame is closed, false otherwise

setClosed sample code for javax.swing.JInternalFrame.setClosed(boolean) definition code for javax.swing.JInternalFrame.setClosed(boolean)

public void setClosed(boolean b)
               throws PropertyVetoException sample code for java.beans.PropertyVetoException definition code for java.beans.PropertyVetoException 
Closes this internal frame if the argument is true. Do not invoke this method with a false argument; the result of invoking setClosed(false) is unspecified.

If the internal frame is already closed, this method does nothing and returns immediately. Otherwise, this method begins by firing an INTERNAL_FRAME_CLOSING event. Then this method sets the closed property to true unless a listener vetoes the property change. This method finishes by making the internal frame invisible and unselected, and then firing an INTERNAL_FRAME_CLOSED event.

Note: To reuse an internal frame that has been closed, you must add it to a container (even if you never removed it from its previous container). Typically, this container will be the JDesktopPane that previously contained the internal frame.

Parameters:
b - must be true
Throws:
PropertyVetoException sample code for java.beans.PropertyVetoException definition code for java.beans.PropertyVetoException - when the attempt to set the property is vetoed by the JInternalFrame
See Also:
isClosed() sample code for javax.swing.JInternalFrame.isClosed() definition code for javax.swing.JInternalFrame.isClosed() , setDefaultCloseOperation(int) sample code for javax.swing.JInternalFrame.setDefaultCloseOperation(int) definition code for javax.swing.JInternalFrame.setDefaultCloseOperation(int) , dispose() sample code for javax.swing.JInternalFrame.dispose() definition code for javax.swing.JInternalFrame.dispose() , InternalFrameEvent.INTERNAL_FRAME_CLOSING sample code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_CLOSING definition code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_CLOSING

setResizable sample code for javax.swing.JInternalFrame.setResizable(boolean) definition code for javax.swing.JInternalFrame.setResizable(boolean)

public void setResizable(boolean b)
Sets whether the JInternalFrame can be resized by some user action.

Parameters:
b - a boolean, where true means this internal frame can be resized

isResizable sample code for javax.swing.JInternalFrame.isResizable() definition code for javax.swing.JInternalFrame.isResizable()

public boolean isResizable()
Returns whether the JInternalFrame can be resized by some user action.

Returns:
true if this internal frame can be resized, false otherwise

setIconifiable sample code for javax.swing.JInternalFrame.setIconifiable(boolean) definition code for javax.swing.JInternalFrame.setIconifiable(boolean)

public void setIconifiable(boolean b)
Sets the iconable property, which must be true for the user to be able to make the JInternalFrame an icon. Some look and feels might not implement iconification; they will ignore this property.

Parameters:
b - a boolean, where true means this internal frame can be iconified

isIconifiable sample code for javax.swing.JInternalFrame.isIconifiable() definition code for javax.swing.JInternalFrame.isIconifiable()

public boolean isIconifiable()
Gets the iconable property, which by default is false.

Returns:
the value of the iconable property.
See Also:
setIconifiable(boolean) sample code for javax.swing.JInternalFrame.setIconifiable(boolean) definition code for javax.swing.JInternalFrame.setIconifiable(boolean)

isIcon sample code for javax.swing.JInternalFrame.isIcon() definition code for javax.swing.JInternalFrame.isIcon()

public boolean isIcon()
Returns whether the JInternalFrame is currently iconified.

Returns:
true if this internal frame is iconified

setIcon sample code for javax.swing.JInternalFrame.setIcon(boolean) definition code for javax.swing.JInternalFrame.setIcon(boolean)

public void setIcon(boolean b)
             throws PropertyVetoException sample code for java.beans.PropertyVetoException definition code for java.beans.PropertyVetoException 
Iconifies or de-iconifies this internal frame, if the look and feel supports iconification. If the internal frame's state changes to iconified, this method fires an INTERNAL_FRAME_ICONIFIED event. If the state changes to de-iconified, an INTERNAL_FRAME_DEICONIFIED event is fired.

Parameters:
b - a boolean, where true means to iconify this internal frame and false means to de-iconify it
Throws:
PropertyVetoException sample code for java.beans.PropertyVetoException definition code for java.beans.PropertyVetoException - when the attempt to set the property is vetoed by the JInternalFrame
See Also:
InternalFrameEvent.INTERNAL_FRAME_ICONIFIED sample code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_ICONIFIED definition code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_ICONIFIED , InternalFrameEvent.INTERNAL_FRAME_DEICONIFIED sample code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_DEICONIFIED definition code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_DEICONIFIED

setMaximizable sample code for javax.swing.JInternalFrame.setMaximizable(boolean) definition code for javax.swing.JInternalFrame.setMaximizable(boolean)

public void setMaximizable(boolean b)
Sets the maximizable property, which determines whether the JInternalFrame can be maximized by some user action. Some look and feels might not support maximizing internal frames; they will ignore this property.

Parameters:
b - true to specify that this internal frame should be maximizable; false to specify that it should not be

isMaximizable sample code for javax.swing.JInternalFrame.isMaximizable() definition code for javax.swing.JInternalFrame.isMaximizable()

public boolean isMaximizable()
Gets the value of the maximizable property.

Returns:
the value of the maximizable property
See Also:
setMaximizable(boolean) sample code for javax.swing.JInternalFrame.setMaximizable(boolean) definition code for javax.swing.JInternalFrame.setMaximizable(boolean)

isMaximum sample code for javax.swing.JInternalFrame.isMaximum() definition code for javax.swing.JInternalFrame.isMaximum()

public boolean isMaximum()
Returns whether the JInternalFrame is currently maximized.

Returns:
true if this internal frame is maximized, false otherwise

setMaximum sample code for javax.swing.JInternalFrame.setMaximum(boolean) definition code for javax.swing.JInternalFrame.setMaximum(boolean)

public void setMaximum(boolean b)
                throws PropertyVetoException sample code for java.beans.PropertyVetoException definition code for java.beans.PropertyVetoException 
Maximizes and restores this internal frame. A maximized frame is resized to fully fit the JDesktopPane area associated with the JInternalFrame. A restored frame's size is set to the JInternalFrame's actual size.

Parameters:
b - a boolean, where true maximizes this internal frame and false restores it
Throws:
PropertyVetoException sample code for java.beans.PropertyVetoException definition code for java.beans.PropertyVetoException - when the attempt to set the property is vetoed by the JInternalFrame

getTitle sample code for javax.swing.JInternalFrame.getTitle() definition code for javax.swing.JInternalFrame.getTitle()

public String sample code for java.lang.String definition code for java.lang.String  getTitle()
Returns the title of the JInternalFrame.

Returns:
a String containing this internal frame's title
See Also:
setTitle(java.lang.String) sample code for javax.swing.JInternalFrame.setTitle(java.lang.String) definition code for javax.swing.JInternalFrame.setTitle(java.lang.String)

setTitle sample code for javax.swing.JInternalFrame.setTitle(java.lang.String) definition code for javax.swing.JInternalFrame.setTitle(java.lang.String)

public void setTitle(String sample code for java.lang.String definition code for java.lang.String  title)
Sets the JInternalFrame title. title may have a null value.

Parameters:
title - the String to display in the title bar
See Also:
getTitle() sample code for javax.swing.JInternalFrame.getTitle() definition code for javax.swing.JInternalFrame.getTitle()

setSelected sample code for javax.swing.JInternalFrame.setSelected(boolean) definition code for javax.swing.JInternalFrame.setSelected(boolean)

public void setSelected(boolean selected)
                 throws PropertyVetoException sample code for java.beans.PropertyVetoException definition code for java.beans.PropertyVetoException 
Selects or deselects the internal frame if it's showing. A JInternalFrame normally draws its title bar differently if it is the selected frame, which indicates to the user that this internal frame has the focus. When this method changes the state of the internal frame from deselected to selected, it fires an InternalFrameEvent.INTERNAL_FRAME_ACTIVATED event. If the change is from selected to deselected, an InternalFrameEvent.INTERNAL_FRAME_DEACTIVATED event is fired.

Parameters:
selected - a boolean, where true means this internal frame should become selected (currently active) and false means it should become deselected
Throws:
PropertyVetoException sample code for java.beans.PropertyVetoException definition code for java.beans.PropertyVetoException - when the attempt to set the property is vetoed by the JInternalFrame
See Also:
Component.isShowing() sample code for java.awt.Component.isShowing() definition code for java.awt.Component.isShowing() , InternalFrameEvent.INTERNAL_FRAME_ACTIVATED sample code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_ACTIVATED definition code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_ACTIVATED , InternalFrameEvent.INTERNAL_FRAME_DEACTIVATED sample code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_DEACTIVATED definition code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_DEACTIVATED

isSelected sample code for javax.swing.JInternalFrame.isSelected() definition code for javax.swing.JInternalFrame.isSelected()

public boolean isSelected()
Returns whether the JInternalFrame is the currently "selected" or active frame.

Returns:
true if this internal frame is currently selected (active)
See Also:
setSelected(boolean) sample code for javax.swing.JInternalFrame.setSelected(boolean) definition code for javax.swing.JInternalFrame.setSelected(boolean)

setFrameIcon sample code for javax.swing.JInternalFrame.setFrameIcon(javax.swing.Icon) definition code for javax.swing.JInternalFrame.setFrameIcon(javax.swing.Icon)

public void setFrameIcon(Icon sample code for javax.swing.Icon definition code for javax.swing.Icon  icon)
Sets an image to be displayed in the titlebar of this internal frame (usually in the top-left corner). This image is not the desktopIcon object, which is the image displayed in the JDesktop when this internal frame is iconified. Passing null to this function is valid, but the look and feel can choose the appropriate behavior for that situation, such as displaying no icon or a default icon for the look and feel.

Parameters:
icon - the Icon to display in the title bar
See Also:
getFrameIcon() sample code for javax.swing.JInternalFrame.getFrameIcon() definition code for javax.swing.JInternalFrame.getFrameIcon()

getFrameIcon sample code for javax.swing.JInternalFrame.getFrameIcon() definition code for javax.swing.JInternalFrame.getFrameIcon()

public Icon sample code for javax.swing.Icon definition code for javax.swing.Icon  getFrameIcon()
Returns the image displayed in the title bar of this internal frame (usually in the top-left corner).

Returns:
the Icon displayed in the title bar
See Also:
setFrameIcon(javax.swing.Icon) sample code for javax.swing.JInternalFrame.setFrameIcon(javax.swing.Icon) definition code for javax.swing.JInternalFrame.setFrameIcon(javax.swing.Icon)

moveToFront sample code for javax.swing.JInternalFrame.moveToFront() definition code for javax.swing.JInternalFrame.moveToFront()

public void moveToFront()
Convenience method that moves this component to position 0 if its parent is a JLayeredPane.


moveToBack sample code for javax.swing.JInternalFrame.moveToBack() definition code for javax.swing.JInternalFrame.moveToBack()

public void moveToBack()
Convenience method that moves this component to position -1 if its parent is a JLayeredPane.


setLayer sample code for javax.swing.JInternalFrame.setLayer(java.lang.Integer) definition code for javax.swing.JInternalFrame.setLayer(java.lang.Integer)

public void setLayer(Integer sample code for java.lang.Integer definition code for java.lang.Integer  layer)
Convenience method for setting the layer attribute of this component.

Parameters:
layer - an Integer object specifying this frame's desktop layer
See Also:
JLayeredPane sample code for javax.swing.JLayeredPane definition code for javax.swing.JLayeredPane

setLayer sample code for javax.swing.JInternalFrame.setLayer(int) definition code for javax.swing.JInternalFrame.setLayer(int)

public void setLayer(int layer)
Convenience method for setting the layer attribute of this component. The method setLayer(Integer) should be used for layer values predefined in JLayeredPane. When using setLayer(int), care must be taken not to accidentally clash with those values.

Parameters:
layer - an integer specifying this internal frame's desktop layer
Since:
1.3
See Also:
setLayer(Integer) sample code for javax.swing.JInternalFrame.setLayer(java.lang.Integer) definition code for javax.swing.JInternalFrame.setLayer(java.lang.Integer) , JLayeredPane sample code for javax.swing.JLayeredPane definition code for javax.swing.JLayeredPane

getLayer sample code for javax.swing.JInternalFrame.getLayer() definition code for javax.swing.JInternalFrame.getLayer()

public int getLayer()
Convenience method for getting the layer attribute of this component.

Returns:
an Integer object specifying this frame's desktop layer
See Also:
JLayeredPane sample code for javax.swing.JLayeredPane definition code for javax.swing.JLayeredPane

getDesktopPane sample code for javax.swing.JInternalFrame.getDesktopPane() definition code for javax.swing.JInternalFrame.getDesktopPane()

public JDesktopPane sample code for javax.swing.JDesktopPane definition code for javax.swing.JDesktopPane  getDesktopPane()
Convenience method that searches the ancestor hierarchy for a JDesktop instance. If JInternalFrame finds none, the desktopIcon tree is searched.

Returns:
the JDesktopPane this internal frame belongs to, or null if none is found

setDesktopIcon sample code for javax.swing.JInternalFrame.setDesktopIcon(javax.swing.JInternalFrame.JDesktopIcon) definition code for javax.swing.JInternalFrame.setDesktopIcon(javax.swing.JInternalFrame.JDesktopIcon)

public void setDesktopIcon(JInternalFrame.JDesktopIcon sample code for javax.swing.JInternalFrame.JDesktopIcon definition code for javax.swing.JInternalFrame.JDesktopIcon  d)
Sets the JDesktopIcon associated with this JInternalFrame.

Parameters:
d - the JDesktopIcon to display on the desktop
See Also:
getDesktopIcon() sample code for javax.swing.JInternalFrame.getDesktopIcon() definition code for javax.swing.JInternalFrame.getDesktopIcon()

getDesktopIcon sample code for javax.swing.JInternalFrame.getDesktopIcon() definition code for javax.swing.JInternalFrame.getDesktopIcon()

public JInternalFrame.JDesktopIcon sample code for javax.swing.JInternalFrame.JDesktopIcon definition code for javax.swing.JInternalFrame.JDesktopIcon  getDesktopIcon()
Returns the JDesktopIcon used when this JInternalFrame is iconified.

Returns:
the JDesktopIcon displayed on the desktop
See Also:
setDesktopIcon(javax.swing.JInternalFrame.JDesktopIcon) sample code for javax.swing.JInternalFrame.setDesktopIcon(javax.swing.JInternalFrame.JDesktopIcon) definition code for javax.swing.JInternalFrame.setDesktopIcon(javax.swing.JInternalFrame.JDesktopIcon)

getNormalBounds sample code for javax.swing.JInternalFrame.getNormalBounds() definition code for javax.swing.JInternalFrame.getNormalBounds()

public Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle  getNormalBounds()
If the JInternalFrame is not in maximized state, returns getBounds(); otherwise, returns the bounds that the JInternalFrame would be restored to.

Returns:
a Rectangle containing the bounds of this frame when in the normal state
Since:
1.3

setNormalBounds sample code for javax.swing.JInternalFrame.setNormalBounds(java.awt.Rectangle) definition code for javax.swing.JInternalFrame.setNormalBounds(java.awt.Rectangle)

public void setNormalBounds(Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle  r)
Sets the normal bounds for this internal frame, the bounds that this internal frame would be restored to from its maximized state. This method is intended for use only by desktop managers.

Parameters:
r - the bounds that this internal frame should be restored to
Since:
1.3

getFocusOwner sample code for javax.swing.JInternalFrame.getFocusOwner() definition code for javax.swing.JInternalFrame.getFocusOwner()

public Component sample code for java.awt.Component definition code for java.awt.Component  getFocusOwner()
If this JInternalFrame is active, returns the child that has focus. Otherwise, returns null.

Returns:
the component with focus, or null if no children have focus
Since:
1.3

getMostRecentFocusOwner sample code for javax.swing.JInternalFrame.getMostRecentFocusOwner() definition code for javax.swing.JInternalFrame.getMostRecentFocusOwner()

public Component sample code for java.awt.Component definition code for java.awt.Component  getMostRecentFocusOwner()
Returns the child component of this JInternalFrame that will receive the focus when this JInternalFrame is selected. If this JInternalFrame is currently selected, this method returns the same component as the getFocusOwner method. If this JInternalFrame is not selected, then the child component that most recently requested focus will be returned. If no child component has ever requested focus, then this JInternalFrame's initial focusable component is returned. If no such child exists, then this JInternalFrame's default component to focus is returned.

Returns:
the child component that will receive focus when this JInternalFrame is selected
Since:
1.4
See Also:
getFocusOwner() sample code for javax.swing.JInternalFrame.getFocusOwner() definition code for javax.swing.JInternalFrame.getFocusOwner() , isSelected sample code for javax.swing.JInternalFrame.isSelected definition code for javax.swing.JInternalFrame.isSelected

restoreSubcomponentFocus sample code for javax.swing.JInternalFrame.restoreSubcomponentFocus() definition code for javax.swing.JInternalFrame.restoreSubcomponentFocus()

public void restoreSubcomponentFocus()
Requests the internal frame to restore focus to the last subcomponent that had focus. This is used by the UI when the user selected this internal frame -- for example, by clicking on the title bar.

Since:
1.3

reshape sample code for javax.swing.JInternalFrame.reshape(int, int, int, int) definition code for javax.swing.JInternalFrame.reshape(int, int, int, int)

public void reshape(int x,
                    int y,
                    int width,
                    int height)
Moves and resizes this component. Unlike other components, this implementation also forces re-layout, so that frame decorations such as the title bar are always redisplayed.

Overrides:
reshape sample code for javax.swing.JComponent.reshape(int, int, int, int) definition code for javax.swing.JComponent.reshape(int, int, int, int) in class JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent
Parameters:
x - an integer giving the component's new horizontal position measured in pixels from the left of its container
y - an integer giving the component's new vertical position, measured in pixels from the bottom of its container
width - an integer giving the component's new width in pixels
height - an integer giving the component's new height in pixels
See Also:
Component.setBounds(int, int, int, int) sample code for java.awt.Component.setBounds(int, int, int, int) definition code for java.awt.Component.setBounds(int, int, int, int)

addInternalFrameListener sample code for javax.swing.JInternalFrame.addInternalFrameListener(javax.swing.event.InternalFrameListener) definition code for javax.swing.JInternalFrame.addInternalFrameListener(javax.swing.event.InternalFrameListener)

public void addInternalFrameListener(InternalFrameListener sample code for javax.swing.event.InternalFrameListener definition code for javax.swing.event.InternalFrameListener  l)
Adds the specified listener to receive internal frame events from this internal frame.

Parameters:
l - the internal frame listener

removeInternalFrameListener sample code for javax.swing.JInternalFrame.removeInternalFrameListener(javax.swing.event.InternalFrameListener) definition code for javax.swing.JInternalFrame.removeInternalFrameListener(javax.swing.event.InternalFrameListener)

public void removeInternalFrameListener(InternalFrameListener sample code for javax.swing.event.InternalFrameListener definition code for javax.swing.event.InternalFrameListener  l)
Removes the specified internal frame listener so that it no longer receives internal frame events from this internal frame.

Parameters:
l - the internal frame listener

getInternalFrameListeners sample code for javax.swing.JInternalFrame.getInternalFrameListeners() definition code for javax.swing.JInternalFrame.getInternalFrameListeners()

public InternalFrameListener sample code for javax.swing.event.InternalFrameListener definition code for javax.swing.event.InternalFrameListener [] getInternalFrameListeners()
Returns an array of all the InternalFrameListeners added to this JInternalFrame with addInternalFrameListener.

Returns:
all of the InternalFrameListeners added or an empty array if no listeners have been added
Since:
1.4
See Also:
addInternalFrameListener(javax.swing.event.InternalFrameListener) sample code for javax.swing.JInternalFrame.addInternalFrameListener(javax.swing.event.InternalFrameListener) definition code for javax.swing.JInternalFrame.addInternalFrameListener(javax.swing.event.InternalFrameListener)

fireInternalFrameEvent sample code for javax.swing.JInternalFrame.fireInternalFrameEvent(int) definition code for javax.swing.JInternalFrame.fireInternalFrameEvent(int)

protected void fireInternalFrameEvent(int id)
Fires an internal frame event.

Parameters:
id - the type of the event being fired; one of the following:
  • InternalFrameEvent.INTERNAL_FRAME_OPENED
  • InternalFrameEvent.INTERNAL_FRAME_CLOSING
  • InternalFrameEvent.INTERNAL_FRAME_CLOSED
  • InternalFrameEvent.INTERNAL_FRAME_ICONIFIED
  • InternalFrameEvent.INTERNAL_FRAME_DEICONIFIED
  • InternalFrameEvent.INTERNAL_FRAME_ACTIVATED
  • InternalFrameEvent.INTERNAL_FRAME_DEACTIVATED
If the event type is not one of the above, nothing happens.

doDefaultCloseAction sample code for javax.swing.JInternalFrame.doDefaultCloseAction() definition code for javax.swing.JInternalFrame.doDefaultCloseAction()

public void doDefaultCloseAction()
Fires an INTERNAL_FRAME_CLOSING event and then performs the action specified by the internal frame's default close operation. This method is typically invoked by the look-and-feel-implemented action handler for the internal frame's close button.

Since:
1.3
See Also:
setDefaultCloseOperation(int) sample code for javax.swing.JInternalFrame.setDefaultCloseOperation(int) definition code for javax.swing.JInternalFrame.setDefaultCloseOperation(int) , InternalFrameEvent.INTERNAL_FRAME_CLOSING sample code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_CLOSING definition code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_CLOSING

setDefaultCloseOperation sample code for javax.swing.JInternalFrame.setDefaultCloseOperation(int) definition code for javax.swing.JInternalFrame.setDefaultCloseOperation(int)

public void setDefaultCloseOperation(int operation)
Sets the operation that will happen by default when the user initiates a "close" on this internal frame. The possible choices are:

DO_NOTHING_ON_CLOSE
Do nothing. This requires the program to handle the operation in the windowClosing method of a registered InternalFrameListener object.
HIDE_ON_CLOSE
Automatically make the internal frame invisible.
DISPOSE_ON_CLOSE
Automatically dispose of the internal frame.

The default value is DISPOSE_ON_CLOSE. Before performing the specified close operation, the internal frame fires an INTERNAL_FRAME_CLOSING event.

Parameters:
operation - one of the following constants defined in javax.swing.WindowConstants (an interface implemented by JInternalFrame): DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE, or DISPOSE_ON_CLOSE
See Also:
addInternalFrameListener(javax.swing.event.InternalFrameListener) sample code for javax.swing.JInternalFrame.addInternalFrameListener(javax.swing.event.InternalFrameListener) definition code for javax.swing.JInternalFrame.addInternalFrameListener(javax.swing.event.InternalFrameListener) , getDefaultCloseOperation() sample code for javax.swing.JInternalFrame.getDefaultCloseOperation() definition code for javax.swing.JInternalFrame.getDefaultCloseOperation() , JComponent.setVisible(boolean) sample code for javax.swing.JComponent.setVisible(boolean) definition code for javax.swing.JComponent.setVisible(boolean) , dispose() sample code for javax.swing.JInternalFrame.dispose() definition code for javax.swing.JInternalFrame.dispose() , InternalFrameEvent.INTERNAL_FRAME_CLOSING sample code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_CLOSING definition code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_CLOSING

getDefaultCloseOperation sample code for javax.swing.JInternalFrame.getDefaultCloseOperation() definition code for javax.swing.JInternalFrame.getDefaultCloseOperation()

public int getDefaultCloseOperation()
Returns the default operation that occurs when the user initiates a "close" on this internal frame.

Returns:
the operation that will occur when the user closes the internal frame
See Also:
setDefaultCloseOperation(int) sample code for javax.swing.JInternalFrame.setDefaultCloseOperation(int) definition code for javax.swing.JInternalFrame.setDefaultCloseOperation(int)

pack sample code for javax.swing.JInternalFrame.pack() definition code for javax.swing.JInternalFrame.pack()

public void pack()
Causes subcomponents of this JInternalFrame to be laid out at their preferred size. Internal frames that are iconized or maximized are first restored and then packed. If the internal frame is unable to be restored its state is not changed and will not be packed.

See Also:
Window.pack() sample code for java.awt.Window.pack() definition code for java.awt.Window.pack()

show sample code for javax.swing.JInternalFrame.show() definition code for javax.swing.JInternalFrame.show()

public void show()
If the internal frame is not visible, brings the internal frame to the front, makes it visible, and attempts to select it. The first time the internal frame is made visible, this method also fires an INTERNAL_FRAME_OPENED event. This method does nothing if the internal frame is already visible. Invoking this method has the same result as invoking setVisible(true).

Overrides:
show sample code for java.awt.Component.show() definition code for java.awt.Component.show() in class Component sample code for java.awt.Component definition code for java.awt.Component
See Also:
moveToFront() sample code for javax.swing.JInternalFrame.moveToFront() definition code for javax.swing.JInternalFrame.moveToFront() , setSelected(boolean) sample code for javax.swing.JInternalFrame.setSelected(boolean) definition code for javax.swing.JInternalFrame.setSelected(boolean) , InternalFrameEvent.INTERNAL_FRAME_OPENED sample code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_OPENED definition code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_OPENED , JComponent.setVisible(boolean) sample code for javax.swing.JComponent.setVisible(boolean) definition code for javax.swing.JComponent.setVisible(boolean)

hide sample code for javax.swing.JInternalFrame.hide() definition code for javax.swing.JInternalFrame.hide()

public void hide()
Overrides:
hide sample code for java.awt.Component.hide() definition code for java.awt.Component.hide() in class Component sample code for java.awt.Component definition code for java.awt.Component

dispose sample code for javax.swing.JInternalFrame.dispose() definition code for javax.swing.JInternalFrame.dispose()

public void dispose()
Makes this internal frame invisible, unselected, and closed. If the frame is not already closed, this method fires an INTERNAL_FRAME_CLOSED event. The results of invoking this method are similar to setClosed(true), but dispose always succeeds in closing the internal frame and does not fire an INTERNAL_FRAME_CLOSING event.

See Also:
InternalFrameEvent.INTERNAL_FRAME_CLOSED sample code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_CLOSED definition code for javax.swing.event.InternalFrameEvent.INTERNAL_FRAME_CLOSED , JComponent.setVisible(boolean) sample code for javax.swing.JComponent.setVisible(boolean) definition code for javax.swing.JComponent.setVisible(boolean) , setSelected(boolean) sample code for javax.swing.JInternalFrame.setSelected(boolean) definition code for javax.swing.JInternalFrame.setSelected(boolean) , setClosed(boolean) sample code for javax.swing.JInternalFrame.setClosed(boolean) definition code for javax.swing.JInternalFrame.setClosed(boolean)

toFront sample code for javax.swing.JInternalFrame.toFront() definition code for javax.swing.JInternalFrame.toFront()

public void toFront()
Brings this internal frame to the front. Places this internal frame at the top of the stacking order and makes the corresponding adjustment to other visible internal frames.

See Also:
Window.toFront() sample code for java.awt.Window.toFront() definition code for java.awt.Window.toFront() , moveToFront() sample code for javax.swing.JInternalFrame.moveToFront() definition code for javax.swing.JInternalFrame.moveToFront()

toBack sample code for javax.swing.JInternalFrame.toBack() definition code for javax.swing.JInternalFrame.toBack()

public void toBack()
Sends this internal frame to the back. Places this internal frame at the bottom of the stacking order and makes the corresponding adjustment to other visible internal frames.

See Also:
Window.toBack() sample code for java.awt.Window.toBack() definition code for java.awt.Window.toBack() , moveToBack() sample code for javax.swing.JInternalFrame.moveToBack() definition code for javax.swing.JInternalFrame.moveToBack()

setFocusCycleRoot sample code for javax.swing.JInternalFrame.setFocusCycleRoot(boolean) definition code for javax.swing.JInternalFrame.setFocusCycleRoot(boolean)

public final void setFocusCycleRoot(boolean focusCycleRoot)
Does nothing because JInternalFrames must always be roots of a focus traversal cycle.

Overrides:
setFocusCycleRoot sample code for java.awt.Container.setFocusCycleRoot(boolean) definition code for java.awt.Container.setFocusCycleRoot(boolean) in class Container sample code for java.awt.Container definition code for java.awt.Container
Parameters:
focusCycleRoot - this value is ignored
Since:
1.4
See Also:
isFocusCycleRoot() sample code for javax.swing.JInternalFrame.isFocusCycleRoot() definition code for javax.swing.JInternalFrame.isFocusCycleRoot() , Container.setFocusTraversalPolicy(java.awt.FocusTraversalPolicy) sample code for java.awt.Container.setFocusTraversalPolicy(java.awt.FocusTraversalPolicy) definition code for java.awt.Container.setFocusTraversalPolicy(java.awt.FocusTraversalPolicy) , Container.getFocusTraversalPolicy() sample code for java.awt.Container.getFocusTraversalPolicy() definition code for java.awt.Container.getFocusTraversalPolicy()

isFocusCycleRoot sample code for javax.swing.JInternalFrame.isFocusCycleRoot() definition code for javax.swing.JInternalFrame.isFocusCycleRoot()

public final boolean isFocusCycleRoot()
Always returns true because all JInternalFrames must be roots of a focus traversal cycle.

Overrides:
isFocusCycleRoot sample code for java.awt.Container.isFocusCycleRoot() definition code for java.awt.Container.isFocusCycleRoot() in class Container sample code for java.awt.Container definition code for java.awt.Container
Returns:
true
Since:
1.4
See Also:
setFocusCycleRoot(boolean) sample code for javax.swing.JInternalFrame.setFocusCycleRoot(boolean) definition code for javax.swing.JInternalFrame.setFocusCycleRoot(boolean) , Container.setFocusTraversalPolicy(java.awt.FocusTraversalPolicy) sample code for java.awt.Container.setFocusTraversalPolicy(java.awt.FocusTraversalPolicy) definition code for java.awt.Container.setFocusTraversalPolicy(java.awt.FocusTraversalPolicy) , Container.getFocusTraversalPolicy() sample code for java.awt.Container.getFocusTraversalPolicy() definition code for java.awt.Container.getFocusTraversalPolicy()

getFocusCycleRootAncestor sample code for javax.swing.JInternalFrame.getFocusCycleRootAncestor() definition code for javax.swing.JInternalFrame.getFocusCycleRootAncestor()

public final Container sample code for java.awt.Container definition code for java.awt.Container  getFocusCycleRootAncestor()
Always returns null because JInternalFrames must always be roots of a focus traversal cycle.

Overrides:
getFocusCycleRootAncestor sample code for java.awt.Component.getFocusCycleRootAncestor() definition code for java.awt.Component.getFocusCycleRootAncestor() in class Component sample code for java.awt.Component definition code for java.awt.Component
Returns:
null
Since:
1.4
See Also:
Container.isFocusCycleRoot() sample code for java.awt.Container.isFocusCycleRoot() definition code for java.awt.Container.isFocusCycleRoot()

getWarningString sample code for javax.swing.JInternalFrame.getWarningString() definition code for javax.swing.JInternalFrame.getWarningString()

public final String sample code for java.lang.String definition code for java.lang.String  getWarningString()
Gets the warning string that is displayed with this internal frame. Since an internal frame is always secure (since it's fully contained within a window that might need a warning string) this method always returns null.

Returns:
null
See Also:
Window.getWarningString() sample code for java.awt.Window.getWarningString() definition code for java.awt.Window.getWarningString()

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

protected String sample code for java.lang.String definition code for java.lang.String  paramString()
Returns a string representation of this JInternalFrame. 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 JInternalFrame

paintComponent sample code for javax.swing.JInternalFrame.paintComponent(java.awt.Graphics) definition code for javax.swing.JInternalFrame.paintComponent(java.awt.Graphics)

protected void paintComponent(Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g)
Overridden to allow optimized painting when the internal frame is being dragged.

Overrides:
paintComponent sample code for javax.swing.JComponent.paintComponent(java.awt.Graphics) definition code for javax.swing.JComponent.paintComponent(java.awt.Graphics) in class JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent
Parameters:
g - the Graphics object to protect
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) , ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI

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

public AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext  getAccessibleContext()
Gets the AccessibleContext associated with this JInternalFrame. For internal frames, the AccessibleContext takes the form of an AccessibleJInternalFrame object. A new AccessibleJInternalFrame 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 AccessibleJInternalFrame that serves as the AccessibleContext of this JInternalFrame
See Also:
JInternalFrame.AccessibleJInternalFrame sample code for javax.swing.JInternalFrame.AccessibleJInternalFrame definition code for javax.swing.JInternalFrame.AccessibleJInternalFrame