## Uses of Class
javax.swing.JRootPane

- Packages that use JRootPane
  Package | Description
  --- | ---
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
  javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.
  javax.swing.plaf.synth | Synth is a skinnable look and feel in which all painting is delegated.

- - ### Uses of JRootPane in javax.swing

    Fields in javax.swing declared as JRootPane
    Modifier and Type | Field and Description
    --- | ---
    `protected JRootPane` | JApplet.`rootPane`
    `protected JRootPane` | JFrame.`rootPane` The `JRootPane` instance that manages the `contentPane` and optional `menuBar` for this frame, as well as the `glassPane`.
    `protected JRootPane` | JWindow.`rootPane` The `JRootPane` instance that manages the `contentPane` and optional `menuBar` for this frame, as well as the `glassPane`.
    `protected JRootPane` | 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 JRootPane` | JDialog.`rootPane`

    Methods in javax.swing that return JRootPane
    Modifier and Type | Method and Description
    --- | ---
    `protected JRootPane` | JApplet.`createRootPane()` Called by the constructor methods to create the default rootPane.
    `protected JRootPane` | JFrame.`createRootPane()` Called by the constructor methods to create the default `rootPane`.
    `protected JRootPane` | JWindow.`createRootPane()` Called by the constructor methods to create the default `rootPane`.
    `protected JRootPane` | JInternalFrame.`createRootPane()` Called by the constructor to set up the `JRootPane`.
    `protected JRootPane` | JDialog.`createRootPane()` Called by the constructor methods to create the default `rootPane`.
    `JRootPane` | JApplet.`getRootPane()` Returns the rootPane object for this applet.
    `JRootPane` | JFrame.`getRootPane()` Returns the `rootPane` object for this frame.
    `JRootPane` | JWindow.`getRootPane()` Returns the `rootPane` object for this window.
    `JRootPane` | JInternalFrame.`getRootPane()` Returns the `rootPane` object for this internal frame.
    `JRootPane` | RootPaneContainer.`getRootPane()` Return this component's single JRootPane child.
    `JRootPane` | JDialog.`getRootPane()` Returns the `rootPane` object for this dialog.
    `JRootPane` | JComponent.`getRootPane()` Returns the `JRootPane` ancestor for this component.
    `static JRootPane` | SwingUtilities.`getRootPane(Component c)` If c is a JRootPane descendant return its JRootPane ancestor.

    Methods in javax.swing with parameters of type JRootPane
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | JApplet.`setRootPane(JRootPane root)` Sets the rootPane property.
    `protected void` | JFrame.`setRootPane(JRootPane root)` Sets the `rootPane` property.
    `protected void` | JWindow.`setRootPane(JRootPane root)` Sets the new `rootPane` object for this window.
    `protected void` | JInternalFrame.`setRootPane(JRootPane root)` Sets the `rootPane` property for this `JInternalFrame`.
    `protected void` | JDialog.`setRootPane(JRootPane root)` Sets the `rootPane` property.

  - ### Uses of JRootPane in javax.swing.plaf.basic

    Methods in javax.swing.plaf.basic with parameters of type JRootPane
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | BasicRootPaneUI.`installComponents(JRootPane root)`
    `protected void` | BasicRootPaneUI.`installDefaults(JRootPane c)`
    `protected void` | BasicRootPaneUI.`installKeyboardActions(JRootPane root)`
    `protected void` | BasicRootPaneUI.`installListeners(JRootPane root)`
    `protected void` | BasicRootPaneUI.`uninstallComponents(JRootPane root)`
    `protected void` | BasicRootPaneUI.`uninstallDefaults(JRootPane root)`
    `protected void` | BasicRootPaneUI.`uninstallKeyboardActions(JRootPane root)`
    `protected void` | BasicRootPaneUI.`uninstallListeners(JRootPane root)`

  - ### Uses of JRootPane in javax.swing.plaf.synth

    Methods in javax.swing.plaf.synth with parameters of type JRootPane
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | SynthRootPaneUI.`installDefaults(JRootPane c)`
    `protected void` | SynthRootPaneUI.`uninstallDefaults(JRootPane root)`

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.