I created an application on javafx, added javafx.scene.web.WebView browser, uploaded html content, in html content there is only one p tag
<p id="p1">text</p> <script> var ppp = document.getElementById("p1"); function f1(t) { ppp.innerHTML = t; } </script> It must be done so that this tag
constantly updated. Sorry could not easier or beautifully explained. But in my opinion you understand. You need to constantly update this tag through java