日期:2014-05-20 浏览次数:20753 次
public static void main(String[] args) { try { Runtime.getRuntime().exec("cmd /c start rundll32.exe user32.dll,LockWorkStation"); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } }