I want to open link in another web view control on clicking the hyperlinks in another web
view in swing using Java FX
Actually i am having two web view controls A n B on the same screen .
On clicking the hyperlink in a , new link should be opened in B web
view control
Allow webviewA to open content in webviewB
Use setCreatePopupHandler:
Or, if you are using jdk8 and don’t like typing:
Make your html links open content in a new window
Define the hyperlinks in the document loaded in
webviewAusingtarget="_blank"For example:
when you click on the hyperlink and utter the magic word, it will open the Colossal Cave adventure in
webviewB.