JMenuItems configured with action don't respond to change in accelerator

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.4.0
    • Component/s: client-libs

      I just noticed a small bug with JMenuItem and Action. I create all my items with new JMenuItem(Action) and then manage the menu item by changing the action. It works well, however, JMenuItem does not refresh properly if its action fires a property change event for the ACCELERATOR_KEY. The accelerator always stays the same. This is with j2se 1.4 and 1.5. I quick look at the code revealed that the action listener checks many properties but not the accelerator.
      ###@###.### 2005-03-10 20:00:14 GMT

            Assignee:
            Scott Violet (Inactive)
            Reporter:
            Shannon Hickey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: