Here you can find the source of setLongerTooltips()
public static void setLongerTooltips()
//package com.java2s; //License from project: Open Source License import javax.swing.ToolTipManager; public class Main { /**/*from ww w . j a va2 s. com*/ * (re-)shows tooltips earlier (10 milliseconds) and longer (20 seconds) */ public static void setLongerTooltips() { ToolTipManager sharedInstance = ToolTipManager.sharedInstance(); sharedInstance.setReshowDelay(10); sharedInstance.setInitialDelay(10); sharedInstance.setDismissDelay(60 * 1000); } }