e846. making tool tips appear immediately.txt
来自「这里面包含了一百多个JAVA源文件」· 文本 代码 · 共 12 行
TXT
12 行
By default, when the cursor enters a component, there is a 750-millisecond delay before the tool tip is displayed. This example demonstrates how to show the tool tip immediately.
// Get current delay
int initialDelay = ToolTipManager.sharedInstance().getInitialDelay();
// Show tool tips immediately
ToolTipManager.sharedInstance().setInitialDelay(0);
// Show tool tips after a second
initialDelay = 1000;
ToolTipManager.sharedInstance().setInitialDelay(initialDelay);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?