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

Mac: adding an empty menu won't add it to the menubar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 8
    • 7-pool
    • javafx
    • Mac

      The following actions won't produce the desired result:

      Menu m = app.createMenu("Menu");
      menubar.add(m);
      // now populate 'm' with menu items

      Instead the menuitems must be added before adding the menu to the menubar. This looks like a bug.

            art Artem Ananiev (Inactive)
            anthony Anthony Petrov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: