Google forms com webview JAVAFX

1 resposta
java
H

Ola gostaria de ajuda pois criei um webview com javafx, a tela carraga tudo certinho porem na hora de utilizar a pagina web não funciona.
segue código usado para chamar a tela no webview:

WebEngine engine ;
String link = “https://docs.google.com/forms/d/1VOeQgMd-8pAgUT5h1AEZh6JHTirSuVfaLoHPp91KTHM/viewform”;

@FXML
private WebView webView;

  public void initialize(URL location, ResourceBundle resources) {
        engine = webView.getEngine();
        webView.getEngine().setOnAlert((WebEvent<String> wEvent) -> {
      System.out.println("Alert Event  -  Message:  " + wEvent.getData());
    });
        engine.load(link);
   
    }

1 Resposta

H

sendo que quando clico em algo não funciona.

Criado 2 de maio de 2016
Ultima resposta 2 de mai. de 2016
Respostas 1
Participantes 1