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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: