The Anatomy of a Great javafx web view
blog Nov 01, 2021
javafx.webview is a JavaFX web view control. It’s just a webview control, but it does more than just that. You can use it to embed rich HTML content in a web page. The web content can be any kind of rich content. For instance, you can embed a PDF into a web page. It will load the PDF inside a webview control. You can also embed images and audio files.
It has been said before that JavaFX is actually the next big thing in web development, but it is not to be confused with the JavaFX control framework. It is a library.
Yes, there are a lot of good things about JavaFX. The ability to build games with it is the one great thing about it. But that also makes it a bad candidate for someone who isn’t already familiar with the Java language. The fact that it seems to be extremely easy to use, while it isn’t exactly intuitive, is just a result of there being a lot of little things that aren’t intuitive.
It’s true that learning JavaFX is not intuitive. That isn’t the point though. The point is that the JavaFX runtime is a lot cleaner than the native Android and iOS ones. The fact that JavaFX can handle graphics and audio with just one instruction is a huge improvement over the current native methods. And the fact that JavaFX is so easy to use is a big plus.