質問

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.

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top