for loop - Java FX Webview UI update -
how update java fx webview while getting url loop . below code example.
string[] url = textarea.gettext().trim().split("\\n"); for(int =0; i< url.length; i++) { wv.getengine().load("http://google.com/search/query=""+url[i]+""); //the page load on webview on each itertion }
please how loop on java fx. definitley using
thread.sleep(int);
will hang ui.
Comments
Post a Comment