Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Embed Google Chrome / V8 JavaScript Engine

980266Dec 17 2012 — edited Dec 18 2012
Hello!

I have some questions about embedding a browser with Java FX.

Is it possible to easily embed Google Chromium (or to use the V8 JavaScript engine) with Java FX / WebEngine?
Is there a roadmap which version of WebKit is included in which Java FX release?

Regards,
Dominik
This post has been answered by jsmith on Dec 18 2012
Jump to Answer

Comments

gimbal2
So you would have (generally):

- a browser
- running a Java plugin
- running a JavaFX application
- running a browser embedded

Inception!
980266
-
980266
I would like to have a standalone Java FX application which inside embeds a webbrowser, which is navigated to several web pages.

The applications accesses the DOM and fires events to the browser.


I'm searching for a technology where Google Chrome can easily be embedded.

(Like Eclipse SWT supports this for Safari/Webkit, IE and Firefox/XULRunner)
jsmith
Answer
Is it possible to easily embed Google Chromium (or to use the V8 JavaScript engine) with Java FX / WebEngine?
No
Is there a roadmap which version of WebKit is included in which Java FX release?
No
I would like to have a standalone Java FX application which inside embeds a webbrowser, which is navigated to several web pages.
http://docs.oracle.com/javafx/2/webview/jfxpub-webview.htm "oracle sample webview"
http://code.google.com/p/willow-browser/ "standalone javafx browser"
The applications accesses the DOM and fires events to the browser.
http://docs.oracle.com/javafx/2/api/javafx/scene/web/WebEngine.html#getDocument%28%29 "get the dom"
http://docs.oracle.com/javafx/2/api/javafx/scene/web/WebEngine.html#executeScript%28java.lang.String%29 "exec javascript"
10446280 "exec jquery javascript"
http://api.jquery.com/category/events/event-object/ "trigger events on dom selections via jquery"
I'm searching for a technology where Google Chrome can easily be embedded.
JavaFX has no such technology.
Marked as Answer by 980266 · Sep 27 2020
1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 15 2013
Added on Dec 17 2012
4 comments
3,221 views