Using ToolTipManager to Register your components : ToolTipManager « Swing « Java Tutorial






ToolTipManager.sharedInstance().setEnabled(false).

When calling the setToolTipText(), it causes the component to register itself with the ToolTipManager. Sometime we want to register the component directly.

public void registerComponent(JComponent component)
public void unregisterComponent(JComponent component)
14.73.ToolTipManager
14.73.1.Using ToolTipManager to Register your components