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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: