Embedding Gecko/WebKit in Java

user318590 picture user318590 · Apr 16, 2010 · Viewed 40.4k times · Source

I'd like to have Gecko, WebKit, or another webbrowser embedded in Java as a Swing/AWT control. I'm looking for something different than JRex or JWebPane.

Answer

Alexis Dufrenoy picture Alexis Dufrenoy · Nov 13, 2010

You could use JxBrowser. It features a Swing/JavaFX component that wraps the Chromium engine while providing a rich API and out-of-the-box hardware-acceleration through the GPU.

Unfortunately, they've dropped support for other engines (like Gecko and WebKit) since 4.0 version.
Note that it's not free, except for open-source projects.