JRootPane: The Content Pane
The JRootPane contains only two components:
Its layout manager ignores all attempts to add new components.
Instead, one must add to the JRootPane’s ContentPane, found inside the JLayeredPane.
A call to getContentPane() returns an instance of the ContentPane.