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

[macosx] com.apple.eawt.Application.setDefaultMenuBar is not working

XMLWordPrintable

    • b102
    • os_x

        FULL PRODUCT VERSION :
        1.7.0_06-ea-b16

        ADDITIONAL OS VERSION INFORMATION :
        MacOS 10.7

        A DESCRIPTION OF THE PROBLEM :
        Java applications need to use the screen menu bar in order to have a native look and feel on MacOS X. The method com.apple.eawt.Application.setDefaultMenuBar was added to allow the developer to create one menubar that is shared by all toplevel windows. This works in Java 6, but not on Java 7. The relevant code in com/apple/eawt/_AppMenuBarHandler.java is currently commented out. Fixing this should be a high priority because it is one of the main barriers preventing Java developers on MacOS X from switching to the use of Java 7.

        REGRESSION. Last worked in version 6u31


        REPRODUCIBILITY :
        This bug can be reproduced always.

              leonidr Leonid Romanov (Inactive)
              ndcosta Nelson Dcosta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: