📄 e819. highlighting buttons in a jtoolbar container while under the cursor.txt
字号:
By default, a button in a toolbar does not change its appearance when the cursor is over the button. However, if the toolbar is in rollover mode, the buttons will highlight while under a cursor.
// Create a horizontal toolbar
JToolBar toolbar = new JToolBar();
// Get current rollover mode
boolean b = toolbar.isRollover();
// Enable rollover mode
toolbar.setRollover(true);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -