This discussion is archived
4 Replies Latest reply: Dec 18, 2012 10:26 AM by jsmith RSS

Embed Google Chrome / V8 JavaScript Engine

980266 Newbie
Currently Being Moderated
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
  • 1. Re: Embed Google Chrome / V8 JavaScript Engine
    gimbal2 Guru
    Currently Being Moderated
    So you would have (generally):

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

    Inception!
  • 2. Re: Embed Google Chrome / V8 JavaScript Engine
    980266 Newbie
    Currently Being Moderated
    -
  • 3. Re: Embed Google Chrome / V8 JavaScript Engine
    980266 Newbie
    Currently Being Moderated
    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)
  • 4. Re: Embed Google Chrome / V8 JavaScript Engine
    jsmith Guru
    Currently Being Moderated
    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"
    Re: Can I embed jQuery into JavaFX WebEngine? "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.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points