JAL-1953 undid commenting out of message panels, should be more elegant
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Mon, 13 Nov 2017 14:49:15 +0000 (14:49 +0000)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Mon, 13 Nov 2017 14:49:31 +0000 (14:49 +0000)
forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java

index 2c9b585..9349f8c 100644 (file)
@@ -317,13 +317,13 @@ public final class MainFrameApplication extends MainFrame {
                         return;
                     }
                 }
-//                else {
-//                    final int r = JOptionPane
-//                            .showConfirmDialog( null, "Exit Archaeopteryx?", "Exit?", JOptionPane.YES_NO_OPTION );
-//                    if ( r != JOptionPane.YES_OPTION ) {
-//                        return;
-//                    }
-//                }
+                else {
+                    final int r = JOptionPane
+                            .showConfirmDialog( null, "Exit Archaeopteryx?", "Exit?", JOptionPane.YES_NO_OPTION );
+                    if ( r != JOptionPane.YES_OPTION ) {
+                        return;
+                    }
+                }
                 exit();
             }
         } );