Refactor Dialog class as the master controller for all fxml dialog views. A new argument can be added as a parameter to determine what type of dialog is to be produced, this dictates what fxml file to load by the FxmlLoader.
This elimates the extra need to create extra sub-classes.
Refactor Dialog class as the master controller for all fxml dialog views. A new argument can be added as a parameter to determine what type of dialog is to be produced, this dictates what fxml file to load by the FxmlLoader.
This elimates the extra need to create extra sub-classes.