Java: Checking if PC is idle

Posted by Scott Straughan on Stack Overflow See other posts from Stack Overflow or by Scott Straughan
Published on 2010-05-06T00:10:21Z Indexed on 2010/05/06 0:28 UTC
Read the original article Hit count: 588

Filed under:
|
|
|

This is a rather tricky question as I have found no information online. Basically, I wish to know how to check if a computer is idle in Java. I wish a program to only work if the computer is in active use but if it is idle then to not.

The only way i can think of doing this is hooking into the mouse/keyboard and having a timer.

MSN Messenger has that "away" feature, I wish for something similar to this.

© Stack Overflow or respective owner

Related posts about java

Related posts about idle