How to wait for WebEngine/Browser initialization in JavaFx application?

☆樱花仙子☆ 提交于 2019-12-06 21:13:27

I decided to wrap the plot functionality in an internal queue of plot instructions. The command

plotter.plot("x^2");

will not actually execute the plot but add a plot instruction to the queue. After the browser has been initialized, that queue will be worked through and the plot commands will be executed with a delay. While the browser is initializing I will show some kind of progress bar.

If you know a solution that does not need this delayed execution work around please let me know.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!