Skip to main content

Initialization Performance tuning

1 reply [Last post]
Anonymous

Hello,

I start JavaHelp ( using the Helpbroker ) when starting my main application. I can't start JavaHelp in it own thread, because I want to use contextsensitiv help. This asks for JavaHelp to be instantiated before initializing the main application.

Is there a way, to speed up the JavaHelp App? Can I give Javahelp an Instanz somehow without loading everything at the beginning. I would prefer to load the rest on demand.

Thanks in advanced,
Wolfgang
______________________________________________________________________________
Horoskop, Comics, VIPs, Wetter, Sport und Lotto im WEB.DE Screensaver1.2
Kostenlos downloaden: http://screensaver.web.de/?mc=021110

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

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.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Roger Brinkley

Wolfgang Wolf wrote:
> Hello,
>
> I start JavaHelp ( using the Helpbroker ) when starting my main
> application. I can't start JavaHelp in it own thread, because I want
> to use contextsensitiv help. This asks for JavaHelp to be
> instantiated before initializing the main application.
>
> Is there a way, to speed up the JavaHelp App? Can I give Javahelp an
> Instanz somehow without loading everything at the beginning. I would
> prefer to load the rest on demand.
>

If your using a HelpBroker you can use HelpBroker.initPresentation in
the AWTThread (run later). When a context sensitive requests comes along
it will block until the presentation is initialized.

Binky

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

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.