Browse Source

REPORT-3163 合作开发9.0设计器=>悬停1s后出现提示文字

master
plough 7 years ago
parent
commit
f0d9f48261
  1. 2
      designer_base/src/com/fr/design/gui/ibutton/UIButton.java

2
designer_base/src/com/fr/design/gui/ibutton/UIButton.java

@ -36,6 +36,7 @@ public class UIButton extends JButton implements UIObserver {
private CellBorderStyle border = null;
protected UIObserverListener uiObserverListener;
private static final int TOOLTIP_INIT_DELAY = 1000; // 延迟 1s 显示提示文字
public UIButton() {
this(StringUtils.EMPTY);
@ -139,6 +140,7 @@ public class UIButton extends JButton implements UIObserver {
setBackground(null);
setRolloverEnabled(true);
initListener();
ToolTipManager.sharedInstance().setInitialDelay(TOOLTIP_INIT_DELAY);
}
@Override

Loading…
Cancel
Save