Skip to content

Instantly share code, notes, and snippets.

@miere
Created February 25, 2016 02:34
Show Gist options
  • Select an option

  • Save miere/3451a8af116c2810510f to your computer and use it in GitHub Desktop.

Select an option

Save miere/3451a8af116c2810510f to your computer and use it in GitHub Desktop.
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