Reputation:
Is there a way to:
embed a browser view in Java Frame of some sort (I'm on Mac OSX)
tell the browser to render a page
have Java have access to the DOM (i.e. delete nodes, create new nodes, create new nodes with CSS styles, change innerHTML of nodes) ...
Thanks!
I believe WebKit will be the easiest, but I'm not attached to it. The core rendering engine of say, Safari, Firefox, of Chrome will be fine.
Upvotes: 1
Views: 1524
Reputation: 283
Take a look at this: http://www.teamdev.com/jxbrowser/, or try Qt WebKit through Qt Jambi.
Update: this looks very good too: http://sourceforge.net/projects/mozswing/
Upvotes: 1