If you look at the previous answers or links, you will see between the lines that the actual answer to the question:
, HAS.
Swing ( JFrame, JDialog JApplet) RootPaneContainer, , ( , JFrame JDialog....)
, , , java.awt.Container ( , javax.swing.JPanel).
udnerstand - , Swing (root, content, glass, layered), , .