tags:

views:

245

answers:

1

I'm trying to embed a WebKit browser in my Java app. I insist on WebKit, because I don't want to test my HTML5/CSS/Javascript with every browser that, for instance, the Browser widget in the Eclipse SWT library supports.

Is there a way to do this on Mac, Windows and Linux, and thus make sure that my web pages are rendered inside my Java app uniformly?

+1  A: 

JXBrowser is one option. It's including Safari.

WebKit 4 SWT is close to what you need but only work on Windows for now.

h3xStream
JxBrowser is very expensive... and from their website I read "JxBrowser supports integration with Internet Explorer and Mozilla (corresponding FireFox 3) under Windows, Apple Safari and Mozilla under Mac OS X, and Mozilla under Linux". So no WebKit for all platforms.Maybe a façade for the SWT Browser widget using WebKit on Mac and Linux, and the WebKit4SWT widget you mention for Windows would be a solution.
JPP