WebView capabilities review

Richard Bair richard.bair at oracle.com
Tue Jul 23 15:49:14 PDT 2013


I'm not seeing anything at all, beyond a fuzzy background image (similar app to yours):

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.web.WebView;
import javafx.stage.Stage;

public class HelloWebView extends Application {
    @Override public void start(Stage stage) throws Exception {
        WebView web = new WebView();
        web.getEngine().load("http://famo.us/");
        Scene scene = new Scene(web);
        stage.setScene(scene);
        stage.setTitle("HelloWebView");
        stage.show();
    }

    public static void main(String[] args) {
        launch(args);
    }
}

I'm on Mac. What OS are you running on?


More information about the openjfx-dev mailing list