Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting Chrome Browser in java Applications

Is there a way to get the Chrome browser inside of java applications similar to the way Awesomium works in C++ and C# applications?

like image 624
LordZardeck Avatar asked Aug 30 '11 14:08

LordZardeck


3 Answers

There is currently no way getting the UI portion into a Java. You should consider just using barebone WebKit + V8 with many JNI calls. You could consider writing a JNA wrapper around those.

To make your JNA easier, you can wrap Chromium Embedded Framework

like image 162
Mohamed Mansour Avatar answered Oct 20 '22 22:10

Mohamed Mansour


There's a Java Wrapper for the Chromium Embedded Framework (CEF).

like image 40
Ovidiu S. Avatar answered Oct 21 '22 00:10

Ovidiu S.


Try javacef. This is open source project. This project can embed Chromium browser in Java SWT with multitab browser support, cookies manipulation, tab settings, printing, back, forward, refresh buttons and enhanced file download. This project is based on Chromium Embedded Framework (CEF).

like image 20
SANN3 Avatar answered Oct 20 '22 22:10

SANN3