How to detect that a PC has been idle for 30 seconds using Java?
EDITED
With idle I mean that there are no user activity. The user does nothing in 30 seconds
Directly from java it is not possible. You'll have to find some native library and create a JNI wrapper for that.