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

javax.swing.KeyStroke.getKeyStroke(char).getKeyCode() returns 0

XMLWordPrintable

    • b73
    • generic
    • solaris_2.6

      using input parameter char == 'A' or 'a' seems to returns a KeyStroke
      where getKeyCode() returns a 0 value

      JDK 1.4.1

      if I use getKeyStroke(char, 0) seems to work better/differently

      at a minimum it would seem like the spec/javadoc suggests these should
      be the same

            son Oleg Sukhodolsky (Inactive)
            sflemingsunw Steve Fleming (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: