TrayIcon -- support JPopupMenu (not only PopupMenu) in the constructor

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P5
    • None
    • Affects Version/s: 6
    • Component/s: client-libs
    • x86
    • windows_xp

      A DESCRIPTION OF THE REQUEST :

      It would be great, if the TrayIcon constructor at http://download.java.net/jdk6/docs/api/java/awt/TrayIcon.html

      would accept not only AWT PopupMenu, but SWING JPopupMenu also.

      now the constructor is:
      TrayIcon(Image image, String tooltip, PopupMenu popup);

      JUSTIFICATION :
      It is impossible to setMnemonic to PopupMenu.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I want to build more sofisticated menus using JPopupMenu (SWING) - not only PopupMenu (AWT).

            Assignee:
            Unassigned
            Reporter:
            Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: