Skip to content

Instantly share code, notes, and snippets.

Created August 19, 2016 22:40
What would you like to do?
package com.lynden.gmaps.directions;
import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class MainApp extends Application {
public void start(Stage stage) throws Exception {
Parent root = FXMLLoader.load(getClass().getResource("/fxml/Scene.fxml"));
Scene scene = new Scene(root);
stage.setTitle("JavaFX and Maven");
public static void main(String[] args) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment