fixed java11 execution
* use mvn compile exec:java for now to run HomeFlix * compilation is not possible yet * see #4
This commit is contained in:
@ -92,7 +92,7 @@ public class Main extends Application {
|
||||
private void mainWindow(){
|
||||
try {
|
||||
FXMLLoader loader = new FXMLLoader();
|
||||
loader.setLocation(ClassLoader.getSystemResource("fxml/MainWindow.fxml"));
|
||||
loader.setLocation(getClass().getResource("/fxml/MainWindow.fxml"));
|
||||
loader.setController(mainWindowController);
|
||||
pane = (AnchorPane) loader.load();
|
||||
primaryStage.setMinHeight(600.00);
|
||||
|
Reference in New Issue
Block a user