Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4163204

com.sun.java.swing.JRootPane Inconsistant

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.0
    • docs
    • beta
    • x86
    • windows_nt



      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)
      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            dindrigo Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: