rsanchez-wsu / RaiderPlanner

The best study planner since the Gantt Diagram
GNU General Public License v3.0
5 stars 83 forks source link

Designed Exit Button #440

Open AndrewVaughn opened 5 years ago

AndrewVaughn commented 5 years ago
  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