Disable the Ctrl-Alt-Delete event through Java program

前端 未结 4 1798
旧时难觅i
旧时难觅i 2021-01-18 19:02

I am creating a desktop application using the JDesktopPane. I\'m almost complete, but when I press ctrl + alt + del, it leaves my applicatio

相关标签:
4条回答
  • 2021-01-18 19:30

    Alt+Ctrl+Del cannot be overridden. It is a security feature.

    0 讨论(0)
  • 2021-01-18 19:40

    http://www.codeproject.com/KB/winsdk/AntonioWinLock.aspx

    lists several possibilities, from disabling the taskmanager to injecting keyboard hooks. But I doubt there's some built-in java functionality for that.

    0 讨论(0)
  • 2021-01-18 19:46

    You cannot do that. The behavior of Alt+Ctrl+Del is enforced by the operating system, for good reasons: it makes sure that you can always bail-out of a faulty application.

    0 讨论(0)
  • 2021-01-18 19:50

    Fact is Alt+Ctrl+Del never actually entering your application. Os traps Alt+Ctrl+Del before it is send to your application. So you can't trap it.

    0 讨论(0)
提交回复
热议问题