How to set keyboard type with JVM ?

J

JN Kembo

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.
 
R

Roedy Green

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top