user1311390
user1311390

Reputation:

Embed Browser (safari, firefox, chrome) + Access DOM in Java

Is there a way to:

  1. embed a browser view in Java Frame of some sort (I'm on Mac OSX)

  2. tell the browser to render a page

  3. 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

Answers (1)

laobeylu
laobeylu

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

Related Questions