/** * Sets the tiptext to display. * * @param index the index of the component * @param text the tiptext to use, null to turn off * @param label whether to set the tiptext for the label * @param comp whether to set the tiptext for the component */ public void setToolTipText(int index, String text, boolean label, boolean comp) { setToolTipText(index, text, false, label, comp); }