Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8119855

WebView fails to render famo.us

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 8
    • javafx
    • web

      The following fails to render anything beyond the initial blurry background image. Maybe the JS engine dies? Not sure.


      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);
          }
      }

            loneid Leonid Popov (Inactive)
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: