0
lock screen:i need a java source program that when i try execute it.........
i need a java source program that when i try execute it.it lock my windos desktop screen and i can't click any icon.and just can move mouse.
1 Answer
+ 2
I don't know if there's a Java function for it, but the Windows shell command is:
rundll32 user32.dll,LockWorkStation
That's a period, then a comma -- no spaces in the second part. Maybe someone can point out how to do a subprocess.