javabrowserjavahelp

Can Java's Desktop.browse provide an HTML Target in order to reuse a browser window?


I'm moving an application from using javax.help's browser to the user's desktop web browser, but I'm wondering how to prevent the user from winding up with many windows/tabs open as they click to different parts of the document. I don't see any way to specify an HTML Target in a java URI or a call to Desktop.browse. Is there any way to do this in Java within (or outside) Desktop.browse?


Solution

  • There is currently no support for this.

    Instead, you can open a unique HTML document which display links to other documents. Links will be opened within the browser without opening new window/tab.