JCEF with SWT

Having problems with building or using the JCEF Java binding? Ask your questions here.

JCEF with SWT

Postby PA510024 » Tue Oct 14, 2014 7:25 am

Hello

I compiled JCEF/libcef_dll_wrapper with visual 2008

I made a new java mainframe, which embedds jcef.dll , and libcef

I use the java code with eclipse.

I want to use jcef.dll because it's very complete and supported. (I use version 1916.xxxx).

My java's application is an eclispe rcp application. It displays multiple browsers into swt TabItems controls.

TH jcef code is a little bit complex. I sow that it uses GL and awt.. And I juste want to add the browser to an swt CTabItem (Composite).

Have I tu use CefBrowserOsr istead of CefBrowserWr into the CefBrowserFactory.create..

How can I add the browser to my window.... I think I have to use CefBrowser_N.N_CreateBrowser(CefClientHandler clientHandler,
long windowHandle,
String url,
boolean transparent,
Component canvas,
CefRequestContext context);

But is it possible to do that with this dll. Or how have I to change the dll's code ...

Thank's for your responses.
PA510024
Techie
 
Posts: 11
Joined: Wed Nov 13, 2013 9:53 am

Re: JCEF with SWT

Postby wjywbs » Sun Jan 25, 2015 9:51 pm

Probably you should try https://code.google.com/p/javacef/ because it's aimed for embedding cef in SWT. (Disclaimer: I'm the author.)
wjywbs
Techie
 
Posts: 19
Joined: Thu Jul 19, 2012 9:03 am


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 30 guests