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

ActionEvent.getModifiers should be deprecated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.1.7, 1.2.0, 1.3.0
    • client-libs
    • generic, x86
    • generic, linux

      getModifiers() always returns null for ActionEvents.

      It should either be made to work, or deprecated.

      Here is a comment from Amy on this:

      In truth I don't think modifiers belong in ActionEvents (they
      are supposed to be higher level than a raw input event).

      The reason that property is there is to support backward compatibility
      with the old event model where modifiers were supported for action
      events (it was some wierd hotjavaism).

      But as you can see, they don't even work anyways. So, I suggest
      we deprecate getModifiers() on ActionEvent....

            ehawkessunw Eric Hawkes (Inactive)
            gsaab Georges Saab
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: