OSDN Git Service

fixed: ダイアログからモーダルの「コマンド実行パネル」を呼び出すことに成功
[importpicture/importpicture.git] / src / osm / jp / gpx / matchtime / gui / restamp / CardPerformFile.java
index b4011b7..e8cd76c 100644 (file)
@@ -1,7 +1,6 @@
 package osm.jp.gpx.matchtime.gui.restamp;
 
 import java.awt.BorderLayout;
-import java.awt.Dialog;
 import java.io.File;
 import java.util.ArrayList;
 import javax.swing.BoxLayout;
@@ -12,9 +11,7 @@ import javax.swing.JTabbedPane;
 import osm.jp.gpx.matchtime.gui.AdjustTime;
 import static osm.jp.gpx.matchtime.gui.AdjustTime.i18n;
 import osm.jp.gpx.matchtime.gui.Card;
-import osm.jp.gpx.matchtime.gui.DoDialog;
 import osm.jp.gpx.matchtime.gui.PanelAction;
-import osm.jp.gpx.matchtime.gui.ParameterPanelImageFile;
 import osm.jp.gpx.matchtime.gui.ParameterPanelTime;
 
 /**
@@ -77,8 +74,6 @@ public class CardPerformFile extends Card  implements PanelAction {
      */
     @SuppressWarnings("UseSpecificCatch")
     void doButton_Action(java.awt.event.ActionEvent event) {
-       doButton.setEnabled(false);
-
         ArrayList<String> arry = new ArrayList<>();
         File file = arg1_basetime.getImageFile().getImageFile();
         File dir = file.getParentFile();
@@ -90,8 +85,6 @@ public class CardPerformFile extends Card  implements PanelAction {
         arry.add(arg2_basetime.argField.getText());
        String[] argv = arry.toArray(new String[arry.size()]);
         (new DoRestamp(argv)).setVisible(true);
-               
-       doButton.setEnabled(true);
     }
 
     /**