reading Keystrokes

In java is that possible to read the all the key strokes of a user .here i want not to read an input from key board. I want to monitor which key strokes have been made by the user.Also how to get the windows logged off time.i have no idea how resume sending data to a file when the user is about to shut down the windows.

thank you.

[345 byte] By [ruhunu_apia] at [2007-11-27 8:43:01]
# 1

> In java is that possible to read the all the key

> strokes of a user .here i want not to read an input

> from key board. I want to monitor which key strokes

> have been made by the user.Also how to get the

> windows logged off time.i have no idea how resume

> sending data to a file when the user is about to shut

> down the windows.

> thank you.

if you are trying to create a keyboard logger then (IMHO) you will need to find another programming language that gets closer to the metal. I don't think that java will allow you to do this.

If you are trying to monitor just for your app and not for all keystrokes, then you may still be in luck.

What is the purpose of this application?

petes1234a at 2007-7-12 20:42:29 > top of Java-index,Java Essentials,Java Programming...
# 2
relevant to your reply for the above post,you have asked me the purpose of reading the keystrokes.my aim is to build an application which monitors key strokes used, when some one logging to my pc.that is related with the windows logon process.is that possible for me to do that with java.
ruhunu_apia at 2007-7-12 20:42:29 > top of Java-index,Java Essentials,Java Programming...