Last active
December 15, 2016 12:57
-
-
Save micheljung/5718680d7ce93ccfaf9dbe44be31c8fc to your computer and use it in GitHub Desktop.
Code to reproduce JI-9046113
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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