Really fast and dirty solution for embedding webkit in Swing user interface?

I am looking for a really quick and dirty solution for embedding webkit in a Swing application.

I am looking for a way to implement a panel containing a webkit browser that is running JavaScript, which can do one or more of the following:

  • Calling a Java Function of the Containing Application
  • Send JSON objects to the containing application

I would also like to have access to the DOM from my Java code.

+4
source share
1 answer

JWebPane is supposedly going to do it for you, but a steam chamber . Best of all, if you look at the WebKit component in Qt Jambi and use the Swing bridge to insert it into your Swing application.

+3
source

All Articles