lock screen:i need a java source program that when i try execute it......... | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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.

12th Dec 2017, 10:35 PM
Geekman89
Geekman89 - avatar
1 ответ
+ 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.
13th Dec 2017, 1:21 AM
Kirk Schafer
Kirk Schafer - avatar