| 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.
|
| Modifier and Type | Field and Description |
|---|---|
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 |
JDialog.rootPane |
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 |
JApplet.rootPane |
| Modifier and Type | Method and Description |
|---|---|
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 |
JDialog.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 |
JApplet.createRootPane ()
Called by the constructor methods to create the default rootPane.
|
JRootPane |
JComponent.getRootPane ()
Returns the
JRootPane ancestor for this component. |
JRootPane |
JFrame.getRootPane ()
Returns the
rootPane object for this frame. |
JRootPane |
RootPaneContainer.getRootPane ()
Return this component's single JRootPane child.
|
JRootPane |
JWindow.getRootPane ()
Returns the
rootPane object for this window. |
JRootPane |
JDialog.getRootPane ()
Returns the
rootPane object for this dialog. |
JRootPane |
JInternalFrame.getRootPane ()
Returns the
rootPane object for this internal frame. |
JRootPane |
JApplet.getRootPane ()
Returns the rootPane object for this applet.
|
static JRootPane |
SwingUtilities.getRootPane (Component c)
If c is a JRootPane descendant return its JRootPane ancestor.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
JDialog.setRootPane (JRootPane root)
Sets the
rootPane property. |
protected void |
JInternalFrame.setRootPane (JRootPane root)
Sets the
rootPane property
for this JInternalFrame. |
protected void |
JApplet.setRootPane (JRootPane root)
Sets the rootPane property.
|
| 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) |
| 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, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.