Created
February 25, 2016 02:34
-
-
Save miere/3451a8af116c2810510f to your computer and use it in GitHub Desktop.
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
| package sizebay.intelligence.security; | |
| import javafx.application.Application; | |
| import javafx.scene.Scene; | |
| import javafx.scene.web.WebEngine; | |
| import javafx.scene.web.WebView; | |
| import javafx.stage.Stage; | |
| /** | |
| * | |
| */ | |
| public class SampleWebApplication extends Application { | |
| private WebView webView; | |
| private WebEngine webEngine; | |
| public static void main( String args[] ){ | |
| launch( args ); | |
| } | |
| @Override | |
| public void start(Stage primaryStage) throws Exception { | |
| webView = new WebView(); | |
| webEngine = webView.getEngine(); | |
| webEngine.load("http://staging-intelligence.sizebay.com"); | |
| Scene scene = new Scene(webView); | |
| primaryStage.setScene( scene ); | |
| primaryStage.show(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment