Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Swing 应用程序中,我想锁定整个正在运行的应用程序。在快捷键上,我希望 Swing 应用程序应该被锁定,因为我们可以通过按 window+l 来锁定窗口
user should also not be allowed to go to open forms with the help of status bar
IS_LOCKED在某个类和按键事件中有一个静态变量,将其设置为true. 在每个事件中,检查该静态变量。
IS_LOCKED
true