This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Finding a language setting or locale of the keyboard
 
Similar Threads
Eclipse and its keyboard language settings
Conversion of Unicode to Kanji!
Detect AltGr key?
Doubt on doubt
Post date is not shown