he JRootPane API description
(http://java.sun.com/products/jdk/1.2/docs/api/javax/swing/JRootPane.html)
seems
to contradict itself. At one point, it says, "The contentPane must be the
parent of any children of the JRootPane." A few paragraphs later, it says,
"The
layeredPane is the parent of all children in the JRootPane." Which is it?
(http://java.sun.com/products/jdk/1.2/docs/api/javax/swing/JRootPane.html)
seems
to contradict itself. At one point, it says, "The contentPane must be the
parent of any children of the JRootPane." A few paragraphs later, it says,
"The
layeredPane is the parent of all children in the JRootPane." Which is it?