TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
I'm collaborating with a programmer to incorporate a simple JavaHelp
helpset in a Java application. There is no context-sensitive help
involved, but several of the html pages contain graphics. When I run the
help viewer from the command line, the topics and the results of searches
display acceptably quickly. However, when we launch the help from the
application's menu bar response times become considerably longer.
Here are the details from my colleague:
===
I've built JavaHelp into my swing application by adding the following menu
code:
// Create a HelpBroker object:
HelpBroker hb = hs.createHelpBroker();
hb.initPresentation();
JMenuItem helpContents = new JMenuItem("Help Contents");
helpContents.addActionListener(new CSH.DisplayHelpFromSource( hb ));
helpMenu.add(helpContents);
} catch (Exception ee) {
// Say what the exception really is
StudioState.getLogger().error("Exception while finding helpset" +
ee.getMessage());
}
</code_snippet>
and I seem to have a serious problem in the time that is taken over
loading pages from my helpset. I have a high spec machine, and neither
memory or CPU seem to twitch when I click on a page in the tree, however
it still takes around 20-30 seconds to load a simple page. I have tried
using one of the demo application helpset, but the same problem occurs. I
have also tried using the hsviewer application to view my helpset which
performs perfectly As you can see, I've also tried pre loading the help
broker with no effect.
Has anybody seen a problem like this before or know how to fix it?
Have you tried the latest in Help Authoring from RoboHelp?
Try ROBOHELP X5 for Free - Now with Word 2003 support, Content
Management, Multi-Author support, PDF and XML support and much more!
---
You are currently subscribed to techwr-l as:
archiver -at- techwr-l -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.