Skip to main content

[JAVAHELP] Big problem with context sensitive help

2 replies [Last post]
Anonymous

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Juan Daniel Riveros

I am having a quite difficult problem to solve using JavaHelp.
I am using the HelpBroker.enableHelpKey, and the displayHelpAfterTracking
and there is only one point in my application where even if I have the focus
in one of the elements of the Jpanel the F1 key doesn't show the right help
topic, but the helpAfterTracking clicking on the same component that has the
focus shows the right help topic.
After this happens the F1 key stops working right and shows the wrong help
topic in all the other Panels of my application.

I am using JavaHelp 1.1.3, and I also tried using the JavaHelp 2.0 and with
both I have the same problem. Anyone knows what this could be? Has anyone
have ever had the same problem?

Is there any way I can try to see where the tracking begins when I press the
F1 key?

Thanks a lot for your cooperation,

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.

brinkley
Offline
Joined: 2003-06-06
Points: 0

DisplayHelpAfterTracking and DisplayHelpOnFocus use two different tracking mechanism. Though once you start through with who has focus these should be the same.

To track what's going on in Focus you could compile the CSH.java file in the source file and set the debug flag to true. That should help out tracking the problem.

Binky