📄 e843. setting a tool tip.txt
字号:
If a JComponent such as a JButton is created using an action, the component will be created with the tool tip text in the action (see e855 Creating an Action). However, if the action does not have any tool tip text or if it must be changed, use JComponent.setToolTipText() is used.
JComponent button = new JButton("Label");
// Set tool tip text
button.setToolTipText("tool tip text");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -