Hi,

i am new to Java. I am supposed to develop a service that displays a message to the user when a system (Operating System) shutdown/log off occurs.
In this case, how can I monitor this even using Java?

Thankyou!