Select JavaHelp topic in TOC when using setCurrentID
Posted
by dcstraw
on Stack Overflow
See other posts from Stack Overflow
or by dcstraw
Published on 2010-03-15T18:40:23Z
Indexed on
2010/03/27
4:03 UTC
Read the original article
Hit count: 375
When I use HelpBroker.setCurrentID("[some help id]")
, JavaHelp correctly shows the page I want but the associated topic is not automatically selected/highlighted in the table of contents. This makes it difficult for a user to know where in the topic tree the current page is located.
Is there any way to programmatically highlight the current topic in the TOC when I use a HelpBroker to navigate to a specific Help page?
Note that when the user follows links within the Java help system, the new topic is properly selected in the table of contents.
© Stack Overflow or respective owner