e845. enabling and disabling tool tips.txt

来自「这里面包含了一百多个JAVA源文件」· 文本 代码 · 共 8 行

TXT
8
字号
By default, tool tips are enabled for the entire application. So if a component has a tool tip text, it will be displayed. To enable or disable tool tips for the entire application, ToolTipManager.setEnabled() is used. Note: Enabling or disabling the tool tip for a particular component can be done only by adding or removing the tool tip text on the component. 
    // Enable tool tips for the entire application
    ToolTipManager.sharedInstance().setEnabled(true);
    
    // Disable tool tips for the entire application
    ToolTipManager.sharedInstance().setEnabled(false);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?