Is it possible to change WebView of JavaFX to Chrome

Sangeeth picture Sangeeth · Aug 25, 2015 · Viewed 13.9k times · Source

We are trying to create a desktop application which opens url with html5 canvas. We implemented it using Java 8 JavaFX. But we experiencing bad response in rendering of sketches.
This working fine in Chrome browser. Is it possible to embed chrome browser in JavaFx application?

Answer

jewelsea picture jewelsea · Aug 25, 2015

Is it possible to change WebView of JavaFX to Chrome

No.

Is it possible to embed chrome browser in JavaFx application?

Yes.

Try JCEF from the chromium embedded project instead of WebView.

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

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