Help needed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gokulanand08
    New Member
    • Jun 2007
    • 1

    #1

    Help needed

    Hi all,

    I am planning to write a simple program to log all the keys typed. i will run my java process in background. but even then i have log all the keys pressed in thro the keyboard. How can i do so. I want to do this using core Java with out any GUI.
    If some have any idea reg this, pls do help me..

    Thanks
  • prometheuzz
    Recognized Expert New Member
    • Apr 2007
    • 197

    #2
    Originally posted by gokulanand08
    Hi all,

    I am planning to write a simple program to log all the keys typed. i will run my java process in background. but even then i have log all the keys pressed in thro the keyboard. How can i do so. I want to do this using core Java with out any GUI.
    If some have any idea reg this, pls do help me..

    Thanks
    That sounds like an ordinary key-logger!
    ; (
    Luckily, what you're asking for cannot be done: you'll need quite some native code for that. Even with a GUI (where you can add a KeyListener to) it will stop working if it looses focus.

    Comment

    Working...