diff --git a/src/main/java/app/CalcApp.java b/src/main/java/app/CalcApp.java index 8ea8689cf7eb9555002b440efb1593cd7caba267..cec1706c3a6a8dc4e321f3f91fcad8702a736e93 100644 --- a/src/main/java/app/CalcApp.java +++ b/src/main/java/app/CalcApp.java @@ -15,7 +15,7 @@ public class CalcApp extends Application { @Override public void start(Stage stage) throws IOException { - FXMLLoader fxmlLoader = new FXMLLoader(this.getClass().getResource("App.fxml")); + FXMLLoader fxmlLoader = new FXMLLoader(this.getClass().getResource("Calc.fxml")); Parent parent = fxmlLoader.load(); stage.setScene(new Scene(parent)); stage.show(); diff --git a/src/main/resources/app/App.fxml b/src/main/resources/app/Calc.fxml similarity index 100% rename from src/main/resources/app/App.fxml rename to src/main/resources/app/Calc.fxml diff --git a/src/test/java/app/AppTest.java b/src/test/java/app/AppTest.java index 5aa6dee08f6ff513661488170afd77b7b8cdc49e..73f81004dad8327a31ec23d861aeea9777ec39fb 100644 --- a/src/test/java/app/AppTest.java +++ b/src/test/java/app/AppTest.java @@ -29,7 +29,7 @@ public class AppTest extends ApplicationTest { @Override public void start(Stage stage) throws IOException { - FXMLLoader fxmlLoader = new FXMLLoader(this.getClass().getResource("App.fxml")); + FXMLLoader fxmlLoader = new FXMLLoader(this.getClass().getResource("Calc.fxml")); root = fxmlLoader.load(); controller = fxmlLoader.getController(); stage.setScene(new Scene(root));