Question

Is it possible to use QWebView to render HTML5 pages inside a Java Swing Application across Windows, Mac and Linux?

Basically I would like to have something like http://qupzilla.com but for Java.

Was it helpful?

Solution

I don't think using QWebView in Swing is going to be easy.

If you just want to render HTML 5 in a Java Swing application its probably easier to use JavaFX's WebView (based on WebKit). You can use JFXPanel to add JavaFX's WebView to your Swing Application.

There is also MozSwing (Firefox bindings for Java).

If you just need XHTML + CSS3 you can take a look at flying-saucer which is a pure Java implementation.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top