How to set keyboard type with JVM ?

Discussion in 'Java' started by JN Kembo, Aug 14, 2005.

  1. JN  Kembo

    JN Kembo Guest

    I've got windows with language set to English - US and French Keyboard.
    When i launch a java application, the keyboard is set to English keyboard.
    How to make the JVM to set the keyboard with the type of keyboard set on
    windows (or french keyboard) or how to force the JVM to load French keyboard
    ?
    thank you for your answer.
     
    JN Kembo, Aug 14, 2005
    #1
    1. Advertisements

  2. JN  Kembo

    Roedy Green Guest

    On Sun, 14 Aug 2005 15:33:47 +0200, "JN Kembo"
    <> wrote or quoted :

    >I've got windows with language set to English - US and French Keyboard.
    >When i launch a java application, the keyboard is set to English keyboard.
    >How to make the JVM to set the keyboard with the type of keyboard set on
    >windows (or french keyboard) or how to force the JVM to load French keyboard


    Keyboard driver swapping is a Windows feature you won't find all OSes,
    thus Java does not support it. What you need to do is learn how to do
    it in C then write some JNI glue, and look at the system property to
    decide if the platform supports it. Then you can think about
    implementing the same function in other OSes.
     
    Roedy Green, Aug 14, 2005
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Hooke

    Re: Handling both MS JVM and Sun JVM

    Kevin Hooke, Aug 26, 2003, in forum: Java
    Replies:
    2
    Views:
    1,085
  2. Lasse
    Replies:
    1
    Views:
    981
    Jon A. Cruz
    Jan 5, 2004
  3. Young-Jin Lee

    MS JVM and Sun JVM problem

    Young-Jin Lee, Jan 20, 2004, in forum: Java
    Replies:
    3
    Views:
    780
    Mickey Segal
    Jan 21, 2004
  4. Harald Kirsch
    Replies:
    4
    Views:
    3,082
    Harald Kirsch
    Aug 31, 2004
  5. heyo
    Replies:
    3
    Views:
    1,410
    Dan Pop
    Apr 1, 2004
  6. pete
    Replies:
    4
    Views:
    1,029
    Dan Pop
    Apr 2, 2004
  7. Yevgen Muntyan

    #define ALLOCIT(Type) ((Type*) malloc (sizeof (Type)))

    Yevgen Muntyan, Feb 9, 2007, in forum: C Programming
    Replies:
    10
    Views:
    1,216
    Yevgen Muntyan
    Feb 13, 2007
  8. J.Cottingim

    set Bad variable type - SNMP::Util set

    J.Cottingim, Jul 3, 2007, in forum: Perl Misc
    Replies:
    0
    Views:
    260
    J.Cottingim
    Jul 3, 2007
Loading...