Skip to main content

[JAVAHELP] Using context help

No replies
Anonymous

I am implementing context based help on my application using the
CSH.setHelpIDString command, and it works fine all of the time, but suddenly
it stops working and when I use the F1 key the help doesn�t display the
right help topic accordingly to where the focus is located on the
application, but if I use the help button

menuItem.addActionListener(new
CSH.DisplayHelpAfterTracking(ApplicationContext.getApplicationHelpBroker()))
;

and click on the same place I have the focus the help displays the right
help topic.

How does javahelp knows the component which has the focus? Is it normal that
the F1 key gives a different result from the one given by the help button?

Thanks for your help,

Juan Daniel Riveros

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

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.