Is it possible to change JavaFX WebView to Chrome?

We are trying to create a desktop application that opens a URL with an html5 canvas. We implemented it using Java 8 JavaFX. But we do not respond well to rendering sketches.
This works great in the Chrome browser. Can I embed a Chrome browser in a JavaFx application?

+7
java html5 java-8 javafx javafx-webengine
source share
3 answers

Is it possible to change the JavaFX web interface on Chrome

Not.

Can I embed a Chrome browser in a JavaFx application?

Yes.

Try JCEF from the Chrome project built in instead of WebView.

For a commercial solution, JxBrowser advertises Chromium support for JavaFX applications.

I have not used either JxBrowser or JCEF, so I have no further details or tips on how to use them or not, they would be suitable for your purpose.

+13
source share

No, you cannot embed the Chrome browser in a JavaFX web view.

Follow this link: WebView Performance in JavaFX

You will get an idea of ​​its performance compared to other browsers.

0
source share

No, there is currently no such option. Oracle talk

However, you can deploy your application in a browser - here is a discussion of this issue.

0
source share

All Articles