diff --git a/importPicture/src/osm/jp/gpx/matchtime/gui/AdjustTime.java b/importPicture/src/osm/jp/gpx/matchtime/gui/AdjustTime.java
index 06c8ef8..8a160c6 100644
--- a/importPicture/src/osm/jp/gpx/matchtime/gui/AdjustTime.java
+++ b/importPicture/src/osm/jp/gpx/matchtime/gui/AdjustTime.java
@@ -30,7 +30,7 @@
//ImagePreview imagePane; // 基準時刻画像表示
ParameterPanelFolder arg1Panel_1;
ParameterPanelImageFile arg1Panel_2;
- ParameterPanelTime arg1Panel_3;
+ ParameterPanel arg1Panel_3;
ParameterPanelSelecter arg1Panel_4; // EXIF 書き出しモード
ParameterPanelFolder arg1Panel_5; // GPXファイル・フォルダ
@@ -40,6 +40,7 @@
JButton zoomOutButton; // [Zoom out]ボタン
JButton nextButton; // [次へ]ボタン
JButton backButton; // [戻る]ボタン
+ JButton doButton; // [処理実行]ボタン
//}}
//{{DECLARE_MENUS
@@ -93,7 +94,7 @@
selectImage_Action(event);
imageView_Action(event);
}
- else if (object == arg1Panel_3.doButton) {
+ else if (object == doButton) {
doButton_Action(event);
}
else if (object == arg1Panel_4.field) {
@@ -175,7 +176,7 @@
JLabel label3 = new JLabel();
label3.setText("
正確な撮影時刻を入力してください。
- カメラの時計が正確ならば、設定を変更する必要はありません。
");
argsPanel.add(label3);
- arg1Panel_3 = new ParameterPanelTime(" 基準時刻: ", ImportPicture.TIME_FORMAT_STRING);
+ arg1Panel_3 = new ParameterPanel(" 基準時刻: ", ImportPicture.TIME_FORMAT_STRING);
argsPanel.add(arg1Panel_3);
cards[cardNo].add(argsPanel, BorderLayout.NORTH);
@@ -199,6 +200,10 @@
// 4.GPXファイル設定画面
cardNo++;
cards[cardNo].setLayout(new BorderLayout());
+ JLabel label4 = new JLabel();
+ label4.setText("ヒモ付を行うGPXファイルを選択してください。
- フォルダを指定すると、フォルダ内にあるすべてのGPXファイルを対象とします。
- カメラの時計が正確ならば、どの画像を選んでも構いません。
");
+ cards[cardNo].add(label4, BorderLayout.NORTH);
+
JPanel tmpPanel4 = new JPanel();
tmpPanel4.setLayout(new BoxLayout(tmpPanel4, BoxLayout.Y_AXIS));
File gpxDir = new File(".");
@@ -210,12 +215,20 @@
// 5.EXIF更新設定画面
cardNo++;
cards[cardNo].setLayout(new BorderLayout());
+ JLabel label5 = new JLabel();
+ label5.setText("EXIF変換を行うかどうかを選択してください。
- EXIF変換を行う場合には、変換ファイルを出力するフォルダも指定する必要があります。
- 出力フォルダには、書き込み権限と、十分な空き容量が必要です。
");
+ cards[cardNo].add(label5, BorderLayout.NORTH);
+
JPanel tmpPanel5 = new JPanel();
tmpPanel5.setLayout(new BoxLayout(tmpPanel5, BoxLayout.Y_AXIS));
String[] combodata = {"更新しない", "更新する"};
arg1Panel_4 = new ParameterPanelSelecter("EXIF変更: ", combodata);
tmpPanel5.add(arg1Panel_4);
cards[cardNo].add(tmpPanel5, BorderLayout.CENTER);
+
+ doButton = new JButton("処理実行", AdjustTime.createImageIcon("images/media_playback_start.png"));
+ cards[cardNo].add(doButton, BorderLayout.SOUTH);
+
//---------------------------------------------------------------------
// INIT_MENUS
@@ -249,7 +262,7 @@
zoomInButton.addActionListener(lSymAction);
arg1Panel_2.argField.addActionListener(lSymAction);
arg1Panel_2.openButton.addActionListener(lSymAction);
- arg1Panel_3.doButton.addActionListener(lSymAction);
+ doButton.addActionListener(lSymAction);
arg1Panel_4.field.addActionListener(lSymAction);
nextButton.addActionListener(lSymAction);
backButton.addActionListener(lSymAction);
@@ -421,7 +434,7 @@
* @param event
*/
void doButton_Action(java.awt.event.ActionEvent event) {
- arg1Panel_3.doButton.setEnabled(false);
+ doButton.setEnabled(false);
String[] argv = new String[4];
argv[0] = arg1Panel_1.getText();
@@ -432,7 +445,7 @@
(new DoDialog(this, argv)).setVisible(true);
- arg1Panel_3.doButton.setEnabled(true);
+ doButton.setEnabled(true);
}
/**