📄 e608. preventing a window from gaining the focus.txt
字号:
If Window.setFocusableWindowState(false) is called on a window, neither the window nor any of its children components can gain the focus. However, components like buttons can still invoke actions.
On some platforms, if the non-focusable window is the only window visible in the application, the non-focusable window will gain the focus. However, none of the children components will gain the focus.
frame.setFocusableWindowState(false);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -