Can Java's Desktop library launch a URL in a new Browser Tab or Window?

后端 未结 5 1158
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-06 14:49

I have a static method used to launch a browser with a given URL. When the browser is already open, this takes over the active browser window.

This is a problem if t

5条回答
  •  广开言路
    2020-12-06 15:23

    Have a look at BrowserLaunch2. In particular this method for forcing a new window to be opened.

提交回复
热议问题