Results 1 to 2 of 2
  1. #1
    othiyappank is offline Member
    Join Date
    Apr 2012
    Posts
    1
    Rep Power
    0

    Post Scan code in Java

    HI ALL,

    I have writing the own kind of VNC viewer, other than English languages keyboard mapping is not working,so I'm planing to get the scan code from the Java key listener?
    Such that if I'm german keyboard as client and english as host it creates the problem.
    Please guide me to get the scan code from the java key listener or guide me to solve the problem mentioned in some other way.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,237
    Rep Power
    19

    Default Re: Scan code in Java

    Moved from Advanced Java.

    You don't get the keyboard scan code in Java. Read the API for KeyEvent, KeyStroke, KeyListener and if using Swing, the Oracle tutorial on How to Use Key Bindings.

    Any Swing-specific questions that may arise should be posted in the AWT/Swing section. If you're using SWT/JFace, there's a separate section for those too.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 9
    Last Post: 11-24-2011, 01:56 PM
  2. scan code of keyboard
    By Sank in forum New To Java
    Replies: 6
    Last Post: 05-10-2011, 08:41 AM
  3. Scan code for "errors"
    By phixion in forum New To Java
    Replies: 0
    Last Post: 03-14-2011, 01:09 AM
  4. Do you have Virus scan computer code for Java
    By star24h.com in forum New To Java
    Replies: 5
    Last Post: 11-08-2009, 03:07 AM
  5. Sample Code to Scan an Image
    By LankanSniper in forum Advanced Java
    Replies: 0
    Last Post: 03-24-2009, 02:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •