I want to capture the system idle time. Means if the user did not press any key or did not move the mouse then it is considered as system idle time. I want the code for this in Java on windows operating system. Please help me.
Printable View
I want to capture the system idle time. Means if the user did not press any key or did not move the mouse then it is considered as system idle time. I want the code for this in Java on windows operating system. Please help me.
Is this system idle time just for the java app (if the user pressed a key within the java application) or do you want the overall system idle time?
The first one you caneasily calculate yourself, the second I can't really say how to go about it