Skip to content

Instantly share code, notes, and snippets.

@micheljung
Last active December 15, 2016 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save micheljung/5718680d7ce93ccfaf9dbe44be31c8fc to your computer and use it in GitHub Desktop.
Save micheljung/5718680d7ce93ccfaf9dbe44be31c8fc to your computer and use it in GitHub Desktop.
Code to reproduce JI-9046113
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class JI9046113 extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage primaryStage) throws Exception {
WebView webView = new WebView();
WebEngine engine = webView.getEngine();
engine.load("http://www.oracle.com");
primaryStage.setScene(new Scene(webView, 200, 200));
primaryStage.show();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment