May 2018
Intermediate to advanced
268 pages
6h 43m
English
The WebEngine.getLoadWorker() method returns a Worker object that tracks the progress of the page loading.
The most important properties of Worker are the following:
In the next example, we will use these properties to add a progress loading indicator and messages about the end of the page loading:
// chapter9/web/LoadWorkerDemo.javapublic void start(Stage primaryStage) { WebView webView = new WebView(); WebEngine webEngine = webView.getEngine(); webEngine.load("https://stackoverflow.com/questions/tagged/javafx"); ...Read now
Unlock full access