when i use webview in FXML ,java fx throws an Exception
console like this:
Caused by: javafx.fxml.LoadException:
/D:/Spring/note/target/classes/view/editView.fxml:59
(here is a webView)
Caused by: java.lang.IllegalStateException: Not on FX application thread; currentThread = ForkJoinPool.commonPool-worker-1
when i use webview in FXML ,java fx throws an Exception console like this: Caused by: javafx.fxml.LoadException: /D:/Spring/note/target/classes/view/editView.fxml:59 (here is a webView)
Caused by: java.lang.IllegalStateException: Not on FX application thread; currentThread = ForkJoinPool.commonPool-worker-1