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

JPasswordField not accepting "alt gr"-characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description

      FULL PRODUCT VERSION :
      OpenJDK Runtime Environment (build 1.6.0-b09)
      OpenJDK Client VM (build 1.6.0-b09, mixed mode, sharing)


      ADDITIONAL OS VERSION INFORMATION :
      Ubuntu Hardy Heron(8.04)

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Gnome Desktop 2.22.1
      Swedish keyboard-layout

      A DESCRIPTION OF THE PROBLEM :
      JPasswordField does not accept characters for which you need to press "alt gr" to type. Eg. on a swedish keyboard: @£$ etc...

      //T

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create e JPasswordField, catch the key typed event in a handler. Check the character of the KeyEvent if when you type @

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      the getKeyChar-method of the KeyEvent should returns: '@'
      ACTUAL -
      the getKeyChar-method of the KeyEvent returns: '2'

      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              igor Igor Nekrestyanov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: