diff --git a/src/main/java/name/nathanmcrae/NumbersStationController.java b/src/main/java/name/nathanmcrae/NumbersStationController.java index b46b959..6818eab 100644 --- a/src/main/java/name/nathanmcrae/NumbersStationController.java +++ b/src/main/java/name/nathanmcrae/NumbersStationController.java @@ -15,7 +15,7 @@ import java.net.URL; import java.util.ResourceBundle; public class NumbersStationController implements Initializable { - private Stage configStage; + private Stage settingsStage; @FXML private Label lastRetrievedLabel; @@ -28,19 +28,19 @@ public class NumbersStationController implements Initializable { System.out.println("Button pressed!"); lastRetrievedLabel.setText("Button pressed!"); - if (configStage == null || !configStage.isShowing()) { + if (settingsStage == null || !settingsStage.isShowing()) { try { - FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("NumbersStationConfig.fxml")); + FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("NumbersStationSettings.fxml")); Parent root = fxmlLoader.load(); - configStage = new Stage(); - configStage.setTitle("Numbers Station Config"); - configStage.setScene(new Scene(root)); - configStage.show(); + settingsStage = new Stage(); + settingsStage.setTitle("Numbers Station Settings"); + settingsStage.setScene(new Scene(root)); + settingsStage.show(); } catch (Exception e) { e.printStackTrace(); } } else { - configStage.toFront(); + settingsStage.toFront(); } } diff --git a/src/main/java/name/nathanmcrae/NumbersStationListenerConfig.fxml b/src/main/java/name/nathanmcrae/NumbersStationListenerSettings.fxml similarity index 100% rename from src/main/java/name/nathanmcrae/NumbersStationListenerConfig.fxml rename to src/main/java/name/nathanmcrae/NumbersStationListenerSettings.fxml diff --git a/src/main/java/name/nathanmcrae/NumbersStationConfig.fxml b/src/main/java/name/nathanmcrae/NumbersStationSettings.fxml similarity index 100% rename from src/main/java/name/nathanmcrae/NumbersStationConfig.fxml rename to src/main/java/name/nathanmcrae/NumbersStationSettings.fxml