File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 694
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 agree. Here's the link:
subject: Reg:Scan code in java
It's not a secret anymore!