I made a GUI to get time from user before shutdown, and I already set counter to reach 0 after that time ,
but I need a code to actually shutdown the window after the counter turns to 0
I already tried
Java Code:
Runtime.getRuntime().exec("Shutdown.exe -s -t");
and it didn't work
so any help...