Sets the layered pane for the root pane. The layered pane
typically holds a content pane and an optional JMenuBar
.
layered | the JLayeredPane to use |
java.awt.IllegalComponentStateException | (a runtime
exception) if the layered pane parameter is null |
Diagram: RootPaneContainer