Automatically close an javafx/fxml window via the controller class.
posted 1 year ago
Hi. I have a button on the main window that creates a new window where you can update a customer record. The second window opens using a different controller class and fxml file.
I would like for the window to close automatically after clicking the update button but I can't find a way to do this via the controller class.