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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 6
    • 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).

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: