If the system is idle (status of the mosue or keyboard doesn't change) for 10 minutes,
I need to log off the java application. How to track the idle time in linux using java?
how to track the idle time
Page 1 of 11 Replies - 3353 Views - Last Post: 20 September 2005 - 05:23 AM
Replies To: how to track the idle time
#2
Re: how to track the idle time
Posted 20 September 2005 - 05:23 AM
Hmmm...we had this question recently....I'm not aware of any native java code to track the idle time, but you can use either third party software that java can poll, or something like the JDIC project...it provides a great deal of system info.
C# and managed C++ actually have a class for this sort of thing, but I'm not aware of any in native java.
C# and managed C++ actually have a class for this sort of thing, but I'm not aware of any in native java.
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|