import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.StackPane;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;
import javafx.stage.Stage;

public class LoadHtml extends Application{

	public void start(Stage primaryStage) throws Exception {
	    primaryStage.setTitle(System.getProperty("java.runtime.version"));             

	    WebView  browser = new WebView();
	    WebEngine engine = browser.getEngine();
		engine.load(getClass().getResource("index_macOS.html").toString()); 

	    StackPane sp = new StackPane();
	    sp.getChildren().add(browser);

	    Scene scene = new Scene(sp);

	    primaryStage.setScene(scene);
	    primaryStage.show();
	}
	public static void main(String[] args) {
		launch(args);
	}
}
