JWebPane project, a browser plugin for Swing and soon FX
Posted by alex2d on December 10, 2008 at 4:08 AM PST
Learn about JWebPane, its architecture, usage, and interaction with WebKit browser engine.
I'm the tech lead of the new JWebPane project, a browser plugin for Swing and soon
FX. We showed a preview this past JavaOne that was well received, and I wanted to
give everyone an update on where we are.
JWebPane is a WebKit based browser component for Java, and will be posted as open
source on java.net in the near future. I'm planning on blogging here frequently,
discussing the architecture of the project as well as how to use it. There's a large
interest in general about WebKit so I'll also talk about some of the aspects of how we
integrated it into Java.
Here is the high level component scheme of the browser component, which also
shows how JWebPane inter-operates with WebKit engine.
We have four basic components:
Each component consists of two parts: the webkit api and a java based
implementation. Actually, there is one more part per each component which is not
mentioned above: the JNI glue code connecting pure java with native C++ based
WebKit. But, it's mostly the straight forward passing of the data so is not terribly
relevant to go into, but I can post more about it if people are interested.
Later on I'll get into the other important aspects of the WebKit engine, such as the
Please feel free to post questions and your thoughts about JWebPane!