import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.scene.web.WebView;

public class DragOnTouchscreen extends Application {

    @Override
    public void start(Stage stage) {
        WebView webView = new WebView();
        webView.getEngine().setJavaScriptEnabled(true);
        webView.getEngine().load("https://leafletjs.com/examples/mobile/example.html");

        stage.setScene(new Scene(webView, 800, 640));
        stage.show();
    }

    public static void main(String[] args) {
        launch();
    }
}
