Skip to content

Instantly share code, notes, and snippets.

@jewelsea
jewelsea / JQueryWebView.java
Created July 9, 2012 18:05
Embeds jQuery in a document loaded into a WebView.
View JQueryWebView.java
import javafx.application.Application;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.scene.Scene;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
import org.w3c.dom.Document;
/**