From: Bill Kuker Date: Thu, 14 Apr 2011 13:03:26 +0000 (+0000) Subject: Ensure exit on main window close with System.exit. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=1e7f127e66580ec7067313004fded8d57cbf79cb;p=sw%2Fmotorsim Ensure exit on main window close with System.exit. --- diff --git a/gui/com/billkuker/rocketry/motorsim/visual/workbench/MotorWorkbench.java b/gui/com/billkuker/rocketry/motorsim/visual/workbench/MotorWorkbench.java index a22583d..f4b2a20 100644 --- a/gui/com/billkuker/rocketry/motorsim/visual/workbench/MotorWorkbench.java +++ b/gui/com/billkuker/rocketry/motorsim/visual/workbench/MotorWorkbench.java @@ -124,6 +124,7 @@ public class MotorWorkbench extends RememberJFrame { } } MotorWorkbench.this.dispose(); + System.exit(0); } private void addMenu() {