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

Wrong keyboard layout in Swing !! not reading locale?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.3.0
    • client-libs
    • x86
    • windows_nt, windows_2000



      Name: krT82822 Date: 02/14/2000


      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

      In a JTextArea, the wrong characters apear when typing. I have not extended the
      area nor do I have any KeyListeners. When typing an * I get an ( and so on.
      I tried it in Notepad at the same time and there the characters were correct.

      This is of course a terrible bug!
      Maybe the locale is not read correctly?
      I live in Holland.

      Can you PLEASE fix this and update RC?
      (Review ID: 100522)
      ======================================================================

      Name: krT82822 Date: 02/14/2000


      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

      Regional Settings in NT are:
      "Regional Settings" = English (Canadian)
      "Input Locales" = default: English (United States)
                      English (Canadian)
      NT 4.0 SP 6a

      Launch any Java program with a Swing interface (don't know if it is specific to
      Swing) that supports text input. Pressing shift-2 shoud get '@' (at-sign)
      instead it gives " (double quote). Similarily shift-3 results in '/' (forward
      slash)instead of '#' (number sign)

      In Fote for Java CE RC1 pressing the actual '"' key (near 'Enter') will throw
      an exception and bring down the whole IDE.

      This does not happen on all NT installations. It is happening for me right now
      onmy machine at work, but it does not happen on my machine at home. I'm not
      certain if the regional settings are the same.

      I have attempted to un-install and re-install JDK 1.3.0 RC1, but it had no
      effect.
      (Review ID: 101008)
      ======================================================================

      Name: krT82822 Date: 02/14/2000


      java version "1.3.0rc1"
      Java(TM) 2 runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot (TM) Client VM (build 1.3.0rc1-S, mixed mode)

      JRE does not correctly reconize my key board, when I type 'Q', 'A' is displayed
      for example, this is working fine under 1.2.2.

      Here is my window NT configuration:

      In Control Panel->RegionaleSetting:
          My Regional Setting is set to French (Standard)
          I got two Input Locales, English (United Kingdom) and French (Standard).
          English is the default input locale because I got a qwerty keyboard.

      In fact JRE1.3rc1 consider my keyboard as an azerty even if default input
      locale is set to english!!!!
      (Review ID: 101235)
      ======================================================================

            nlindenbsunw Norbert Lindenberg (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: