Java Utililty Methods Swing Tooltip

List of utility methods to do Swing Tooltip

Description

The list of methods to do Swing Tooltip are organized into topic(s).

Method

voidtoolTip(JComponent c, String s)
tool Tip
String o = c.getToolTipText();
if (s != null && s.length() == 0)
    s = null;
if (o == s)
    return;
if (o == null || s == null || !o.equals(s))
    c.setToolTipText(s);
voidunregisterComponentAtTooltipManager(JComponent c)
Unregisters a component at the ToolTipManager.
ToolTipManager.sharedInstance().unregisterComponent(c);