/** * Sets the helpID for a Component. * If helpID is null this method removes the helpID from the component. * @exception IllegalArgumentException comp is neither <code>Component</code> nor */ public static void setHelpIDString(Component comp, String helpID) { _setHelpIDString(comp, helpID); }
/** * Sets the helpID for a MenuItem. * If helpID is null, this method removes the helpID from the component. * @exception IllegalArgumentException comp is neither <code>Component</code> nor */ public static void setHelpIDString(MenuItem comp, String helpID) { _setHelpIDString(comp, helpID); }