I am creating the HTML WYSIWIG editor, which contain both source code and design view. On the designer side I have added swing scene, in which I have added javafx webview to display the html changes in the source.
At first I am loading the source of HTML in the web view, which does not reflect changes immediately. I have to manually select the reload option from the menu of webview, then only it is reflecting changes. Also later I am also executing function webview.getengine().executescript("<script>"). The changes of the script is not reflecting on the webview, for that also I have to manually select the reload option from the menu of webview.
Can anyone help me to solve this issue?