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;
import java.net.URL;

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("https://mdbootstrap.com/docs/jquery/modals/basic/");		

	    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);
	}
}
