wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Finding a language setting or locale of the keyboard Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Finding a language setting or locale of the keyboard" Watch "Finding a language setting or locale of the keyboard" New topic
Author

Finding a language setting or locale of the keyboard

Balasubramanian Chandrasekaran
Ranch Hand

Joined: Nov 28, 2007
Posts: 215

HI,
I chnaged the language settings from english layout to german from the regional settings. the keyboard behave as german. but in my java application i have to get the keyboard layoout whether it is english or german. i tried by using Locale.getdefault it always display the english US. if the regional setting is changed also locale.getdefault display the english as.

How to get the current keyboard layout or language setting using java.
R Babu
Greenhorn

Joined: Oct 14, 2008
Posts: 9
Hi,

Please try the code below:

 
 
subject: Finding a language setting or locale of the keyboard
 
Similar Threads
Doubt on doubt
Post date is not shown
Eclipse and its keyboard language settings
Conversion of Unicode to Kanji!
Detect AltGr key?