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

backwardTraversalKeys initialization uses incorrect argument

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta
    • generic
    • generic

      This occurs in TextArea.java and JTextArea.java

          static {
              /* ensure that the necessary native libraries are loaded */
              Toolkit.loadLibraries();
              initIDs();
              forwardTraversalKeys = KeyboardFocusManager.loadFocusTraversalKeys
                  ("AWT.forwardTextAreaFocusTraversalKey", "ctrl TAB",
                   new TreeSet());
              backwardTraversalKeys = KeyboardFocusManager.loadFocusTraversalKeys
                  ("AWT.bacwardTextAreaFocusTraversalKey", "ctrl shift TAB",
                   new TreeSet());
          }

      It should be "AWT.backwardTextAreaFocusTraversalKey" - the k is missing
      in the string above.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: