Results 1 to 4 of 4
  1. #1
    pimager is offline Member
    Join Date
    Jan 2013
    Posts
    2
    Rep Power
    0

    Default How to convert the keypad code to code AWT Robot class?

    Hi all, I have a little problem with "java awt robot keycode" the poiny is that the keyboard codes do not match those of the class awt robot.
    For example, the code for the "ENTER" key on the keyboard is 13 and the Robot class is 10, and with many other codes.
    Is there a function to convert the key code to the Robot class code?

    thank you very much

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

    Default Re: How to convert the keypad code to code AWT Robot class?

    Moved from Advanced Java.

    Read the API for the Robot methods in question. There are examples of how the int parameter should be passed.

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

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is online now Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,248
    Rep Power
    19

    Default Re: How to convert the keypad code to code AWT Robot class?

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

  4. #4
    pimager is offline Member
    Join Date
    Jan 2013
    Posts
    2
    Rep Power
    0

    Default Re: How to convert the keypad code to code AWT Robot class?

    Hello, but could you tell me which function converts the Flash/AS3 keyCode to java.awt.Robot keyCode?
    I ca't find it.

    Thank you

Similar Threads

  1. Convert C++ code to Java
    By napoleon in forum New To Java
    Replies: 2
    Last Post: 03-07-2010, 07:44 AM
  2. Convert java code to midlet code
    By coldvoice05 in forum New To Java
    Replies: 1
    Last Post: 08-12-2009, 11:14 AM
  3. Convert java code to midlet code
    By coldvoice05 in forum Advanced Java
    Replies: 1
    Last Post: 08-09-2009, 01:21 PM
  4. Convert bar code to number
    By samatha_kudi in forum Advanced Java
    Replies: 1
    Last Post: 07-17-2009, 02:56 PM
  5. how to convert source code to xml
    By valery in forum XML
    Replies: 2
    Last Post: 08-06-2007, 08:29 PM

Tags for this Thread

Posting Permissions

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