diff --git a/importPicture/src/osm/jp/gpx/matchtime/gui/AdjustTime.java b/importPicture/src/osm/jp/gpx/matchtime/gui/AdjustTime.java
index afc5257..06c8ef8 100644
--- a/importPicture/src/osm/jp/gpx/matchtime/gui/AdjustTime.java
+++ b/importPicture/src/osm/jp/gpx/matchtime/gui/AdjustTime.java
@@ -130,32 +130,56 @@
backButton = new JButton("戻る");
container.add(backButton, BorderLayout.WEST);
- cards = new JPanel[4];
- for (int i=0; i < 4; i++) {
+ cards = new JPanel[5];
+ for (int i=0; i < 5; i++) {
cards[i] = new JPanel();
cardPanel.add(cards[i], String.valueOf(i));
}
cardPanelNo = 0;
//---------------------------------------------------------------------
- // パラメータ設定パネル
+ // 1.[対象フォルダ]設定パネル
int cardNo = 0;
cards[cardNo].setLayout(new BorderLayout());
+ JLabel label1 = new JLabel();
+ label1.setText("
位置情報を付加したい画像ファイルが格納されているフォルダを選択してください。
- コピー動作を行うと、ファイル更新時刻がコピーを実行した時刻に書き換わってしまうことがあります。オリジナルのカメラUSB内のフォルダを直接指定することをおすすめします。
");
+ cards[cardNo].add(label1, BorderLayout.NORTH);
+
argsPanel = new JPanel();
argsPanel.setLayout(new BoxLayout(argsPanel, BoxLayout.Y_AXIS));
arg1Panel_1 = new ParameterPanelFolder("対象フォルダ: ", ".");
argsPanel.add(arg1Panel_1);
- arg1Panel_2 = new ParameterPanelImageFile("基準時刻画像: ", "", arg1Panel_1);
- argsPanel.add(arg1Panel_2);
- cards[cardNo].add(argsPanel, BorderLayout.NORTH);
+ cards[cardNo].add(argsPanel, BorderLayout.CENTER);
//---------------------------------------------------------------------
- // 基準時刻画像表示
+ // 2.[基準時刻画像]設定パネル
cardNo++;
cards[cardNo].setLayout(new BorderLayout());
- arg1Panel_3 = new ParameterPanelTime(" 基準時刻: ", ImportPicture.TIME_FORMAT_STRING);
- cards[cardNo].add(arg1Panel_3, BorderLayout.NORTH);
+ JLabel label2 = new JLabel();
+ label2.setText("正確な撮影時刻が判明できる画像を選んでください。
- スマートフォンの時計画面(秒が判別できること)を撮影した画像
- カメラの時計が正確ならば、どの画像を選んでも構いません。
");
+ cards[cardNo].add(label2, BorderLayout.NORTH);
+ argsPanel = new JPanel();
+ argsPanel.setLayout(new BoxLayout(argsPanel, BoxLayout.Y_AXIS));
+ arg1Panel_2 = new ParameterPanelImageFile("基準時刻画像: ", "", arg1Panel_1);
+ argsPanel.add(arg1Panel_2);
+ cards[cardNo].add(argsPanel, BorderLayout.CENTER);
+
+ //---------------------------------------------------------------------
+ // 3.基準時刻の入力画面
+ cardNo++;
+ cards[cardNo].setLayout(new BorderLayout());
+ argsPanel = new JPanel();
+ argsPanel.setLayout(new GridLayout(2, 1));
+
+ JLabel label3 = new JLabel();
+ label3.setText("正確な撮影時刻を入力してください。
- カメラの時計が正確ならば、設定を変更する必要はありません。
");
+ argsPanel.add(label3);
+ arg1Panel_3 = new ParameterPanelTime(" 基準時刻: ", ImportPicture.TIME_FORMAT_STRING);
+ argsPanel.add(arg1Panel_3);
+ cards[cardNo].add(argsPanel, BorderLayout.NORTH);
+
+ // 参考画像
imageLabel = new JLabel();
imageSPane = new JScrollPane(imageLabel);
cards[cardNo].add(imageSPane, BorderLayout.CENTER);
@@ -172,24 +196,26 @@
cards[cardNo].add(buttonPanel, BorderLayout.SOUTH);
//---------------------------------------------------------------------
- // GPXファイル設定画面
+ // 4.GPXファイル設定画面
cardNo++;
cards[cardNo].setLayout(new BorderLayout());
- //JPanel tmpPanel = new JPanel();
- //tmpPanel.setLayout(new BoxLayout(argsPanel, BoxLayout.Y_AXIS));
+ JPanel tmpPanel4 = new JPanel();
+ tmpPanel4.setLayout(new BoxLayout(tmpPanel4, BoxLayout.Y_AXIS));
File gpxDir = new File(".");
arg1Panel_5 = new ParameterPanelFolder("GPXフォルダ: ", gpxDir.getAbsolutePath());
- cards[cardNo].add(arg1Panel_5, BorderLayout.NORTH);
+ tmpPanel4.add(arg1Panel_5);
+ cards[cardNo].add(tmpPanel4, BorderLayout.CENTER);
//---------------------------------------------------------------------
- // EXIF更新設定画面
+ // 5.EXIF更新設定画面
cardNo++;
cards[cardNo].setLayout(new BorderLayout());
- //JPanel tmpPanel = new JPanel();
- //tmpPanel.setLayout(new BoxLayout(argsPanel, BoxLayout.Y_AXIS));
+ JPanel tmpPanel5 = new JPanel();
+ tmpPanel5.setLayout(new BoxLayout(tmpPanel5, BoxLayout.Y_AXIS));
String[] combodata = {"更新しない", "更新する"};
arg1Panel_4 = new ParameterPanelSelecter("EXIF変更: ", combodata);
- cards[cardNo].add(arg1Panel_4, BorderLayout.CENTER);
+ tmpPanel5.add(arg1Panel_4);
+ cards[cardNo].add(tmpPanel5, BorderLayout.CENTER);
//---------------------------------------------------------------------
// INIT_MENUS