diff --git a/src/osm/jp/gpx/Restamp.java b/src/osm/jp/gpx/Restamp.java index 959a3bc..8e40d24 100644 --- a/src/osm/jp/gpx/Restamp.java +++ b/src/osm/jp/gpx/Restamp.java @@ -13,7 +13,7 @@ import org.apache.commons.imaging.ImageReadException; /** - * 動画から一定間隔で切り出したIMAGEのファイル更新日時を書き換える + * 動画から一定間隔で切り出したIMAGEファイルの更新日時を書き換える * * @author yuu */ diff --git a/src/osm/jp/gpx/matchtime/gui/AdjustTime.java b/src/osm/jp/gpx/matchtime/gui/AdjustTime.java index 8f4921a..d0a3fd7 100644 --- a/src/osm/jp/gpx/matchtime/gui/AdjustTime.java +++ b/src/osm/jp/gpx/matchtime/gui/AdjustTime.java @@ -544,7 +544,7 @@ } void miRestamp_Action(java.awt.event.ActionEvent event) throws IOException { - (new RestampDialog(this, true)).setVisible(true); + (new RestampDialog(this, false)).setVisible(true); } void miExit_Action(java.awt.event.ActionEvent event) { diff --git a/src/osm/jp/gpx/matchtime/gui/restamp/CardPerformFile.java b/src/osm/jp/gpx/matchtime/gui/restamp/CardPerformFile.java index b4011b7..e8cd76c 100644 --- a/src/osm/jp/gpx/matchtime/gui/restamp/CardPerformFile.java +++ b/src/osm/jp/gpx/matchtime/gui/restamp/CardPerformFile.java @@ -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 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 @@ */ @SuppressWarnings("UseSpecificCatch") void doButton_Action(java.awt.event.ActionEvent event) { - doButton.setEnabled(false); - ArrayList arry = new ArrayList<>(); File file = arg1_basetime.getImageFile().getImageFile(); File dir = file.getParentFile(); @@ -90,8 +85,6 @@ arry.add(arg2_basetime.argField.getText()); String[] argv = arry.toArray(new String[arry.size()]); (new DoRestamp(argv)).setVisible(true); - - doButton.setEnabled(true); } /** diff --git a/src/osm/jp/gpx/matchtime/gui/restamp/DoRestamp.java b/src/osm/jp/gpx/matchtime/gui/restamp/DoRestamp.java index b8f251d..d114ba5 100644 --- a/src/osm/jp/gpx/matchtime/gui/restamp/DoRestamp.java +++ b/src/osm/jp/gpx/matchtime/gui/restamp/DoRestamp.java @@ -30,7 +30,7 @@ @SuppressWarnings("OverridableMethodCallInConstructor") public DoRestamp(String[] args) { - super(); // モーダルダイアログを基盤にする + super(); // 親フォームなしのモーダルダイアログを基盤にする this.args = args; // INIT_CONTROLS diff --git a/src/osm/jp/gpx/matchtime/gui/restamp/RestampDialog.java b/src/osm/jp/gpx/matchtime/gui/restamp/RestampDialog.java index 665e27d..dd11a0f 100644 --- a/src/osm/jp/gpx/matchtime/gui/restamp/RestampDialog.java +++ b/src/osm/jp/gpx/matchtime/gui/restamp/RestampDialog.java @@ -14,7 +14,7 @@ import osm.jp.gpx.matchtime.gui.SimpleDocumentListener; @SuppressWarnings("serial") -public class RestampDialog extends Dialog implements Observer +public class RestampDialog extends JDialog implements Observer { //{{DECLARE_CONTROLS java.awt.Button closeButton;