A Container that manages the contentPane and in some cases a menu bar. The layeredPane can be used by descendants that want to add a child to the RootPaneContainer that isn't layout managed. For example an internal dialog or a drag and drop effect component.
The layeredPane may not be null.
Generally implemented with
getRootPane().setLayeredPane(layeredPane);
layeredPane | the layered pane |
java.awt.IllegalComponentStateException | (a runtime exception) if the layered pane parameter is null |
getLayeredPane, JRootPane.getLayeredPane
Diagram: JFrame