This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Reg:Scan code in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Reg:Scan code in java" Watch "Reg:Scan code in java" New topic

Reg:Scan code in java

Jonny checker

Joined: Jun 18, 2008
Posts: 4
while adding keylistener in java it gives the keycode, but actually i need scan code how to get the scancode as similar to vc++(MFC) in java.Because im working in multiple languages different keyboard i have to support.if keycode used so may problem arises. to sove the problem, how can i get the scan code in java
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 691
What is scan code? How does it relate to keycode? Is there a translation from one to the other?
[ June 18, 2008: Message edited by: Norm Radder ]
Jonny checker

Joined: Jun 18, 2008
Posts: 4
scan code is a value based in the position of the key in the keyboard. scancode relates th the hardware specific
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Reg:Scan code in java
It's not a secret anymore!