import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
-import osm.jp.gpx.matchtime.gui.AdjustTime;
-import static osm.jp.gpx.matchtime.gui.AdjustTime.createImageIcon;
-import static osm.jp.gpx.matchtime.gui.AdjustTime.i18n;
+import osm.jp.gpx.matchtime.gui.AdjustTerra;
+import static osm.jp.gpx.matchtime.gui.AdjustTerra.createImageIcon;
+import static osm.jp.gpx.matchtime.gui.AdjustTerra.i18n;
import osm.jp.gpx.matchtime.gui.PanelAction;
import osm.jp.gpx.matchtime.gui.ParameterPanelTime;
* @author yuu
*/
public class DialogCorectTime extends JDialog implements PanelAction {
- public JPanel mainPanel;
+ private static final long serialVersionUID = -3573167730473345932L;
+ public JPanel mainPanel;
ParameterPanelTime arg_basetime; // 開始画像の基準時刻(parent)
ParameterPanelTime basetime; // 開始画像の基準時刻(tempolarry)
java.awt.Button closeButton;
* @param arg3_basetime 開始画像の基準時刻:
* @param owner
*/
- @SuppressWarnings("OverridableMethodCallInConstructor")
public DialogCorectTime(ParameterPanelTime arg3_basetime, Window owner) {
- super(owner, AdjustTime.i18n.getString("tab.restamp.300"), Dialog.ModalityType.DOCUMENT_MODAL);
+ super(owner, AdjustTerra.i18n.getString("tab.restamp.300"), Dialog.ModalityType.DOCUMENT_MODAL);
this.arg_basetime = arg3_basetime;
// INIT_CONTROLS
// 画像ファイル選択ダイアログを起動するボタン
JPanel buttonPanel = new JPanel();
buttonPanel.setLayout(new BoxLayout(buttonPanel, BoxLayout.X_AXIS));
- expandButton = new JButton(createImageIcon(java.util.ResourceBundle.getBundle("i18n_ja_JP").getString("IMAGES/FIT16.GIF")));
+ expandButton = new JButton(createImageIcon("/images/Fit16.gif"));
buttonPanel.add(expandButton);
- zoomInButton = new JButton(createImageIcon("images/ZoomIn16.gif"));
+ zoomInButton = new JButton(createImageIcon("/images/ZoomIn16.gif"));
buttonPanel.add(zoomInButton);
- zoomOutButton = new JButton(createImageIcon("images/ZoomOut16.gif"));
+ zoomOutButton = new JButton(createImageIcon("/images/ZoomOut16.gif"));
buttonPanel.add(zoomOutButton);
centerPanel.add(buttonPanel, BorderLayout.SOUTH);
* 選択された画像ファイルを表示する
* 基準画像ボタンがクリックされた時に、基準時刻フィールドに基準画像の作成日時を設定する。
*/
- @SuppressWarnings("UseSpecificCatch")
public void imageView_Action() {
try {
String path = basetime.getImageFile().getImageFile().getAbsolutePath();
}
@Override
- @SuppressWarnings("empty-statement")
public void openAction() {
; // 何もしない
}