public int getDismissDelay() {
    if (myComponent instanceof JComponent) {
      final Object value = ((JComponent)myComponent).getClientProperty(TOOLTIP_DISMISS_DELAY_KEY);
      if (value instanceof Integer) {
        return ((Integer)value).intValue();
      }
    }
    return Registry.intValue("ide.tooltip.dismissDelay");
  }
public int getDismissDelay()