我正在尝试设置工具提示JEditorPane.我用来确定要显示哪些工具提示文本的方法是相当CPU密集型的 - 所以我想只在鼠标停止很短的时间后显示它 - 比如1秒.
JEditorPane
我知道我可以使用ToolTipManager.sharedInstance().setInitialDelay(),但这会立即设置所有摆动组件上工具提示的延迟时间,我不希望这样.
ToolTipManager.sharedInstance().setInitialDelay()
java performance user-interface swing tooltip
java ×1
performance ×1
swing ×1
tooltip ×1
user-interface ×1