Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Browser library

I need to implement a simple browser in java. I've been researching several possibilities including JxBrowser, JBrowser, JavaFX (WebEngine + WebView), among others. JxBrowser has potential but it's a paid library, which I would like to avoid.

This browser needs to be able to process all web functionalities including JavaScript and HTML5 while capable of connecting through proxies. Therefore the best solution may be to use a web engine like Gecko.

So I'd like some advice on libraries which are capable of implementing Gecko engine (including XULRunner) with the possibility of changing core Gecko preferences. Also, if you know any other possible solution that doens't include Gecko, feel free to discuss.

like image 366
Ciro Avatar asked Nov 14 '22 05:11

Ciro


1 Answers

Have you tried SWT Browser widget?

For proxy in SWT Browser, see How do I set a proxy for the Browser to use?,

like image 131
Paul Vargas Avatar answered Nov 16 '22 04:11

Paul Vargas