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

method setHelpMenu(Menu name) in class MenuBar doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_95

      Description



      Name: mc57594 Date: 01/14/97

      In JDK 1.02 MenuBar.setHelpMenu(Menu name) would make the
      Menu given as the parameter apprear as the last menu on the bar. This no
      longer seems to work. Sample code -

      Frame f=new Frame();MenuBar mb=new MenuBar();
      Menu any=new Menu("Any menu");Menu help=new Menu("Help");
      mb.add(help);mb.add(any);mb.setHelpMenu(help);
      f.setMenuBar(mb);f.setVisible(true);
      //even though help is added first it should appear last
        
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gsaab Georges Saab
              Reporter:
              mchamnessunw Mark Chamness (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: