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

JPasswordField not accepting "alt gr"-characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6
    • client-libs

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: