Hi,
Does CEF come with support to embed a browser within a Java application? Swing or SWT? Note this is different from running Java Applets within the browser, its the browser I wish to place within a standalone Java application.
I have managed to do this previously with Eclipse SWT, by using a browser component in the UI. Chrome/Webkit can be selected as the browser to use, or the platform default may be used. AFAIK, Webkit support is not available under Windows? at least the FAQ says you must first install Safari to use it. This method dynamically links to a browser already installed on the system.
What I would like to do is to statically embed a Chrome/Webkit based browser within my application, on all platforms (Linux/Windows/Mac), and avoid linking to the platform default. That way I can guarantee that the application will work very consistently on all platforms, and it won't be pot-luck as to what browser the system provides.
What I am doing, is creating a Java+HTML+javascript based web app, and deploying it with an embedded web server and embedded browser, so the whole thing runs as if it were a native desktop application. Why? because this is only one way in which my webapp can be run, it can also be hosted and accessed through a normal web browser, in other deployment scenarios. I would also aim to enhance the UI somewhat when running in standalone mode, for example, custom menus and keyboard short-cuts, some integration into the native platform, and so on.
Does CEF only provide a C++ API? I suppose I can always call that through Java JNI and get it running that way. Thought I'd ask first, in case some of this hard work has already been done.
Interesting project and thanks for your help.
Rupert