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);