how to update Javahelp content without open new hsviewer
I'm using Javahelp for my C language application, and use UNIX command "system" to invoke "java -jar hsviewer ...." for my help doc.
And users may need to open the javahelp in several different dialog boxes for different chapter. Once we use "system" UNIX command, it will bring up a new hsviewer which is not we want, it may cause too many windows on desktop.
Is there any way we could just open "one" hsviewer, and if user click other dialog nox "Help" buttom, only the pre-open hsviewer content will be updated instead of open a new one.
I know the netscape has some command similar which is "-remote" but I'm new to Java, any advice will be appreciated.
Thanks in advacne.
Helo Patchi,can't you just set a flag whenever the hsviewer is launched and which will be checked before it is launched (again)? I don't know how to navigate in JavaHelp from C, but you could at least close an open hsviewer before re-opening it again.RegardsJ鰎g
Hi Joerg :
Appreciate your help 8)
This approach will be my backup plan. Actually the hsviewer will be opened -> closed -> opened instead of just change the content. Its acceptable but perfect solution, unless I cound not find any other solution.
Do you have ideal how could I display the hsviewer into the X11/Motif window?
So I could just update the X11/Motif window when user click the different dialog box help button.
Thanks,
--Pat
Hi,as I wrote, I never did these things from C. I had, however, no difficulties running a Java application (not using JavaHelp) in an X11/Motif window under OpenVMS. - Sorry for not being very helpful here.J鰎g