@@ -0,0 +1,1512 @@
+package jp.dip.fission.SampleRestApplication.tools;%0D%0A%0D%0Aimport javafx.application.Application;%0D%0Aimport javafx.application.Platform;%0D%0Aimport javafx.beans.value.ChangeListener;%0D%0Aimport javafx.beans.value.ObservableValue;%0D%0Aimport javafx.concurrent.Worker.State;%0D%0Aimport javafx.scene.Scene;%0D%0Aimport javafx.scene.web.WebEngine;%0D%0Aimport javafx.scene.web.WebView;%0D%0Aimport javafx.stage.Stage;%0D%0A%0D%0Apublic class BlindBrowserMain extends Application %7B%0D%0A%0D%0A%09private static String GMAIL_LOGIN = %22https://accounts.google.com/ServiceLogin?service=mail#identifier%22;%0D%0A%0D%0A%09@Override%0D%0A%09public void init() throws Exception %7B%0D%0A%09%09super.init();%0D%0A%09%09System.out.println(%22init%22);%0D%0A%09%7D%0D%0A%0D%0A%09@Override%0D%0A%09public void stop() throws Exception %7B%0D%0A%09%09System.out.println(%22stop%22);%0D%0A%09%09super.stop();%0D%0A%09%7D%0D%0A%0D%0A%09public static void main(String%5B%5D args) %7B%0D%0A%09%09System.out.println(%22main s%22);%0D%0A%09%09Application.launch(args);%0D%0A%09%09System.out.println(%22main e%22);%0D%0A%09%7D%0D%0A%0D%0A%09@Override%0D%0A%09public void start(Stage stage) throws Exception %7B%0D%0A%09%09System.out.println(%22start%22);%0D%0A%09%09WebView webView = new WebView();%0D%0A%09%09stage.setScene(new Scene(webView));%0D%0A%09%09WebEngine engine = webView.getEngine();%0D%0A%09%09engine.getLoadWorker().stateProperty().addListener(new ChangeListener%3CState%3E() %7B%0D%0A%09%09%09@Override%0D%0A%09%09%09public void changed(ObservableValue%3C? extends State%3E observable, State oldValue, State newValue) %7B%0D%0A%09%09%09%09if (newValue == State.SUCCEEDED) %7B%0D%0A%09%09%09%09%09engine.getDocument().getElementById(%22Email%22).setNodeValue(%22test%22);%0D%0A%09%09%09%09%7D%0D%0A%09%09%09%7D%0D%0A%09%09%7D);%0D%0A%09%09engine.load(GMAIL_LOGIN);%0D%0A%09%09Platform.exit();%0D%0A%09%7D%0D%0A%0D%0A%7D%0D%0A

add BrowserSample