[Advanced-java] JavaHelp

Roman Schmidt rschmidt at infosys.tuwien.ac.at
Wed Jul 30 18:14:02 2003


Hi,

I have some problems with the JavaHelp full-text search.
The indexer and searcher seem to work accurate:

enter next query or . to quit
connection
query 0
0.0 help/html/network.html [335, 345], {connection}
0.0 help/html/configuration.html [668, 678], {connection}
0.0 help/html/network.html [1772, 1782], {connection}
0.0 help/html/configuration.html [3792, 3802], {connection}
16 msec search

The help GUI is also shown by the following code:

ClassLoader classLoader = this.getClass().getClassLoader();
URL url = HelpSet.findHelpSet(classLoader, HELP_SET_FILE);
HelpSet helpSet = new HelpSet(classLoader, url);
HelpBroker helpBroker = helpSet.createHelpBroker();
new CSH.DisplayHelpFromSource(helpBroker).actionPerformed(event);

The search function finds 2 hits with 2 occurrences at each page (the 
same as jhsearch) for 'connection', but a click on one of the results 
only highlights the locations of the query at the currently open page. 
The page network.html or configuration.html is not opened.
Furthermore each result is of the syntax [Help Title] - [Page Title], 
instead of only [Page Title].

Any suggestions?

Thanks in advance,
Roman