OSDN Git Service

fixed bug which is do not cancel when cancel button is selected in window closing...
[stigmata/stigmata-core.git] / src / main / java / jp / sourceforge / stigmata / ui / swing / StigmataFrame.java
index e86e5fe..30bd945 100644 (file)
@@ -70,7 +70,7 @@ import org.apache.commons.cli.ParseException;
 /**
  *
  * @author Haruaki TAMADA
- * @version $Revision$ $Date$
+ * @version $Revision$
  */
 public class StigmataFrame extends JFrame{
     private static final long serialVersionUID = 92345543665342134L;
@@ -490,7 +490,7 @@ public class StigmataFrame extends JFrame{
                 }
             }
         });
-        setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
+        setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
     }
 
     private JMenu createFileMenu(){