Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there anyway to detect user inactivity in java?

I am writing a desktop application in which I want to perform an operation if user doesn't use the computer for X number of minutes. Just like auto idle in MSN messager or skype. Any hints?

like image 601
qasimzee Avatar asked Oct 23 '25 06:10

qasimzee


1 Answers

I found https://code.google.com/p/fiat-lux/source/browse/Fiat+Lux/src/fiatlux/os/time/ that served my purpose.

Thanks

like image 96
qasimzee Avatar answered Oct 25 '25 21:10

qasimzee



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!