Fixed pathing.

This commit is contained in:
Jonathan Turner 2024-02-11 03:38:32 -05:00
parent 85f9abea53
commit f7d888305d

View File

@ -13,9 +13,9 @@ public class GUIDriver extends Application {
Parent root = FXMLLoader.load(getClass().getResource("/A1/view/BoardView.fxml")); Parent root = FXMLLoader.load(getClass().getResource("/A1/view/BoardView.fxml"));
Scene scene = new Scene(root); Scene scene = new Scene(root);
scene.getStylesheets().add(getClass().getResource("A1/view/styles.css").toExternalForm()); scene.getStylesheets().add(getClass().getResource("/A1/view/styles.css").toExternalForm());
stage.setTitle("JavaFX and Maven"); stage.setTitle("Jonathan Turner - CS3642 - Assignment 1");
stage.setScene(scene); stage.setScene(scene);
stage.show(); stage.show();
} }