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

javax.swing.KeyStroke.getKeyStroke(...) description is out-of-date

    Details

      Description



      Name: rmT116609 Date: 08/12/2004


      A DESCRIPTION OF THE PROBLEM :
      While reading the documentation, I have found a deprecated specification. Since Merlin, "javax.swing.KeyStroke.getKeyStroke(...)" description should recommend it...

      java.awt.event.InputEvent.SHIFT_DOWN_MASK
      java.awt.event.InputEvent.CTRL_DOWN_MASK
      java.awt.event.InputEvent.META_DOWN_MASK
      java.awt.event.InputEvent.ALT_DOWN_MASK

      ...instead of

      java.awt.event.InputEvent.SHIFT_MASK (1)
      java.awt.event.InputEvent.CTRL_MASK (2)
      java.awt.event.InputEvent.META_MASK (4)
      java.awt.event.InputEvent.ALT_MASK (8)


      (Incident Review ID: 296795)
      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              svioletsunw Scott Violet (Inactive)
              Reporter:
              rmandalasunw Ranjith Mandala (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: