Skip to content

Designed Exit Button #440

@AndrewVaughn

Description

@AndrewVaughn
  1. Right now, there is only one way to close this program. The only way to exit this program is be clicking on the default setting of the “X” in the upper right-hand corner. Using this feature could possibly cause issues, like not saving changes. Since this default feature shuts the program down, it doesn’t give the user the chance to save any updates or changes that were made. It would be better if there was a designed exit strategy. The designed exit can provide fail safes that can prevent loss of work, and let the user know of any issues that may have been created. Since the banner is stationary and is on all screens this would be a great place to add an Exit button. A couple simple statements would accomplish this. Something like this for the exit button
    public void handleQuit() {
    Stage stage = (Stage) this.submit.getScene().getWindow();
    stage.close();
    }
    And like this for the button appearance in the startup.fxml file



Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions