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

Event.key has wrong value on French keyboard

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.1.4
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.1.4
    • CPU:
      x86
    • OS:
      windows_95
    • Verification:
      Verified

      Description



      Name: mc57594 Date: 06/18/97


      I am writing a JAVA applet using "Canvas", and what I would like to
      do is:
                                                                          
      - to get Key Event on "Canvas"
      - to display the character according to the Key hit on "Canvas"
                                                                          
      Now I get Key Event using handleEvent method and cast Event.key to
      String and do drawString.

      This schime was working OK on JDK1.0.2 for Win95, but
      when I run the same applet on JDK1.1.1, it doesn't work
      in the French environment with the following problems:
                                                                                                                  
                                                                          
      - On French keyboard, when you hit "1" key in base shift, it should
        input "&", but instead, I get "1", which is x31
      - All the keys in the first row of French keyboard don't work;
        I don't get the expected character values.
      - However, on the second row, when you hit "Q" key, I get "a", and
        this is the expected result.

      This problem occurs even if I recompile my applet
      with JDK1.1.1.

      My environment is:

      WIndows95 GM with English/French/Russian ebabled
      JDK.1.1.1

      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            joconnersunw John Oconner (Inactive)
            Reporter:
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: