My program is a distributed software for a small laboratory. It is written in java but because during daytime the computers are used, I have to manually restart it in the evening. I would solve the problem by starting it from a service every time the computer is started but I need a mechanism to detect: 1) user input(mouse, keyboard etc.) 2) user logon
Detecting any user input from java it is not possible. Is there any framework for something like this?