문제

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