Name: diC59631 Date: 08/04/98
Here's a quote from the javadoc's for com.sun.java.swing.JRootPane:
Although the menuBar component is optional,
the layeredPane, contentPane, and glassPane
always exist.
Then later, another quote says:
1.The glassPane, if present, fills the entire viewable area of the JRootPane (bounds - insets).
2.The layeredPane fills the entire viewable area of the JRootPane. (bounds - insets)
3.The menuBar is positioned at the upper edge of the layeredPane().
4.The contentPane fills the entire viewable area, minus the MenuBar, if present.
The first quote indicates the menuBar is optional and the glassPane is required
while the second quote indicates the glassPane is optional.
(Review ID: 36394)
======================================================================