捕獲Windows關閉,注銷並在Java內置的Windows服務中重新啟動? [英]Capture Windows shutdown, log off and restart in Windows service built in Java?
關閉Windows控制台時如何正常關閉Java應用程序? [英]How to gracefully shutdown a Java application when of closing the Windows console?