Utilizing the WebView component in JavaFX can be a great choice for creating simple web pages with a good time-to-effect ratio.
WebView webView = new WebView();
webView.getEngine().load("https://www.google.com/maps");
https://i.sstatic.net/sVe7y.jpg
If you require more robust functionality and cannot obtain a license for JxBrowser, an alternative option is the JCEF project:
However, it should be noted that JCEF works exclusively with AWT/Swing due to complexities in embedding it within SwingNode. Additional information on this topic can be found here:
- Stackoverflow - JCEF and JavaFX
When working on JCEF-based projects, consideration must be given to supported platforms as there may be various native variants and platform-specific challenges, as discussed in cases like:
- Stackoverflow - JCEF ICU Check Failed