Really quick and dirty solution for embedding webkit in a Swing UI?
I am looking for a really quick and dirty solution for embedding webkit in a Swing application.
What I am looking for is a way to implement a panel that contains a webkit browser running some JavaScript that will be able to do one or more of t开发者_如何学Che following:
- Call 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.
JWebPane is allegedly going to do this for you, but it's vaporware for the time being. Your best bet might be to take a look at the WebKit component in Qt Jambi and use the Swing bridge to stick it in a Swing app.
精彩评论