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.
我很好奇是否可以在 jApplet 中创建对小程序来说是全局的热键……比如全局键处理程序或其他东西。例如,我希望能够按“F11”键,然后出现一个 jPanel,然后再次按“f11”使其消失......无论我关注哪个组件。当我不专注于应用程序时,我不希望它在内部起作用。
谢谢。
您需要使用Key Bindings。
snippets with TinyMCE Editor and render using CodeMirror code highlighter