From 088578d34c91b7f748b539cfe51dff12d2498e2a Mon Sep 17 00:00:00 2001 From: Mark Zaharchenko Date: Mon, 10 Oct 2022 01:31:43 +0400 Subject: [PATCH] fix --- DoubleDeckerBus/pom.xml | 2 +- .../com/example/doubledeckerbus/{FormBus.java => Form.java} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename DoubleDeckerBus/src/main/java/com/example/doubledeckerbus/{FormBus.java => Form.java} (77%) diff --git a/DoubleDeckerBus/pom.xml b/DoubleDeckerBus/pom.xml index effcc0d..62d9a1d 100644 --- a/DoubleDeckerBus/pom.xml +++ b/DoubleDeckerBus/pom.xml @@ -69,7 +69,7 @@ default-cli - com.example.doubledeckerbus/com.example.doubledeckerbus.FormBus + com.example.doubledeckerbus/com.example.doubledeckerbus.Form app app diff --git a/DoubleDeckerBus/src/main/java/com/example/doubledeckerbus/FormBus.java b/DoubleDeckerBus/src/main/java/com/example/doubledeckerbus/Form.java similarity index 77% rename from DoubleDeckerBus/src/main/java/com/example/doubledeckerbus/FormBus.java rename to DoubleDeckerBus/src/main/java/com/example/doubledeckerbus/Form.java index 56cb9d8..1b97591 100644 --- a/DoubleDeckerBus/src/main/java/com/example/doubledeckerbus/FormBus.java +++ b/DoubleDeckerBus/src/main/java/com/example/doubledeckerbus/Form.java @@ -7,10 +7,10 @@ import javafx.stage.Stage; import java.io.IOException; -public class FormBus extends Application { +public class Form extends Application { @Override public void start(Stage stage) throws IOException { - FXMLLoader fxmlLoader = new FXMLLoader(FormBus.class.getResource("hello-view.fxml")); + FXMLLoader fxmlLoader = new FXMLLoader(Form.class.getResource("hello-view.fxml")); Scene scene = new Scene(fxmlLoader.load()); stage.setTitle("DoubleDeckerBus"); stage.setScene(scene);