Java Swing Tooltip setTooltipDismissDelay()

Here you can find the source of setTooltipDismissDelay()

Description

set Tooltip Dismiss Delay

License

Open Source License

Declaration

public static void setTooltipDismissDelay() 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import javax.swing.*;

public class Main {
    public static final int TOOLTIP_DISMISS_DELAY = 7000;

    public static void setTooltipDismissDelay() {
        ToolTipManager.sharedInstance().setDismissDelay(TOOLTIP_DISMISS_DELAY);
    }/*from  w  w  w.jav  a2 s .  c o  m*/
}

Related

  1. createNumericInput(final String tooltip)
  2. displayTooltip(JComponent component)
  3. hideToolTip(JComponent c)
  4. performMultipleReplacements(final Document theDocument, final String theRegexToSearch, final String theReplacement)
  5. setLongerTooltips()
  6. showTooltipNow(JComponent c)
  7. showToolTipNow(JComponent component)
  8. toolTip(JComponent c, String s)
  9. unregisterComponentAtTooltipManager(JComponent c)