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

JMenu does not render properly when set to heavyweight

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 1.1.6, 1.2.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      solaris_2.6, windows_nt

      Description

      JMenu does not render properly when a call is made to setLightWeightPopupEnabled(false). Problem occurs on both beta4 and beta4.1 and
      effects both Solaris and Windows 95.

      A sample program is attached.

      To see the problem, follow these steps:

      1. Run the sample program in normal mode:

      java MenuTest true

      In this case, a call is made to setLightWeightPopupEnabled(true);
      Note that the argument is set to "true". Behavior is correct
      in this situation.

      2. Now run the sample program with the argument set to false:

      java MenuTest false

      This time a call is made to setLightWeightPopupEnabled(false).
      Note that the argument to setLightWeightPopupEnabled() is "false"
      this time.

      Note that the rendering of the menus/submenus is incorrect.

      The customer requires the heavyweight menus because he's using (Java 3D) Canvas3D objects in his Swing desktop and thus needs the heavyweight menus so that they render "on top" of the heavyweight Canvas3D objects.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gsaab Georges Saab
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: