14

Possible Duplicate:
Is there a way to embed a browser in Java?

how can i embed a web browser within a java application?

Thanks, David

0

8 Answers 8

10

There are a number of alternatives:

  • JEditorPane - included in the JRE, but only renders simple HTML
  • JDIC - open source, embeds native browser
  • ICEBrowser - commercial, renders the HTML in Java
  • WebRenderer - commercial, embeds native browser in Java

And a few more that don't seem to be under active development.

Sign up to request clarification or add additional context in comments.

2 Comments

And inside of it many of this website functionality is not available. Well but it is of 2016.
So also this one requires same approach as Let's Encypt such periodic renewals.
3

You could also try the JWebBrowser from DJ Native Swing: http://djproject.sourceforge.net/ns

3 Comments

Seems nice (stunning demo), but is a bit harsh to port into netbeans module. Do you have a tip or an already built NBM ?
Yes this. I was hoping for something as well.
The DJ Native Swing distribution contains a "netbeans" subfolder with instructions to create modules.
1

Flying Saucer is small and renders pretty well regular HTML pages

Comments

1

If you need a pure Java solution then you can use JWebEngine. Its the best pure Java solution currently available.

Comments

1

If you want pure java solution, try Lobo.

Otherwise, you may use SWT / JRex or some other JNI-based product.

Comments

0

You can use SWT for this, here's a simple example.

Comments

0

I got another one

The Lobo Project - Open Source

Comments

0

You can use mozswing. It works.

Comments