Skip to main content

[JAVAHELP] Using enablehelpkey method

No replies
Anonymous

I am trying to use the enablehelpkey method. However, when I pass a
component directly as the 1st argument, it seems to display the default ID
and only the default ID. The component was previously assigned a help ID,
but will not display it. This seems to display ONLY what I pass as the
default ID and not the help ID that was assigned. Any help would be
appreciated. Here is the section of my code pertaining to this:

public void setHelpIdString(Component component, String id)
{
CSH.setHelpIDString(component, id);

helpBroker.enableHelpKey(component, "main", helpSet);
}

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.