diff --git a/src/main/java/osm/surveyor/matchtime/gui/ImageFileView.java b/src/main/java/osm/surveyor/matchtime/gui/ImageFileView.java index 6e42bb7..c9fbffd 100644 --- a/src/main/java/osm/surveyor/matchtime/gui/ImageFileView.java +++ b/src/main/java/osm/surveyor/matchtime/gui/ImageFileView.java @@ -37,10 +37,10 @@ /* ImageFileView.java is used by FileChooserDemo2.java. */ public class ImageFileView extends FileView { - ImageIcon jpgIcon = Utils.createImageIcon("images/jpgIcon.gif"); - ImageIcon gifIcon = Utils.createImageIcon("images/gifIcon.gif"); - ImageIcon tiffIcon = Utils.createImageIcon("images/tiffIcon.gif"); - ImageIcon pngIcon = Utils.createImageIcon("images/pngIcon.png"); + ImageIcon jpgIcon = Utils.createImageIcon("/images/jpgIcon.gif"); + ImageIcon gifIcon = Utils.createImageIcon("/images/gifIcon.gif"); + ImageIcon tiffIcon = Utils.createImageIcon("/images/tiffIcon.gif"); + ImageIcon pngIcon = Utils.createImageIcon("/images/pngIcon.png"); @Override public String getName(File f) { diff --git a/src/main/java/osm/surveyor/matchtime/gui/ParameterPanelFolder.java b/src/main/java/osm/surveyor/matchtime/gui/ParameterPanelFolder.java index a42139e..e934c6a 100644 --- a/src/main/java/osm/surveyor/matchtime/gui/ParameterPanelFolder.java +++ b/src/main/java/osm/surveyor/matchtime/gui/ParameterPanelFolder.java @@ -34,7 +34,7 @@ // "選択..." selectButton = new JButton( i18n.getString("button.select"), - ReStamp.createImageIcon("images/Open16.gif") + ReStamp.createImageIcon("/images/Open16.gif") ); selectButton.addActionListener(this); this.add(selectButton); diff --git a/src/main/java/osm/surveyor/matchtime/gui/ParameterPanelGpx.java b/src/main/java/osm/surveyor/matchtime/gui/ParameterPanelGpx.java index a381023..ce698ca 100644 --- a/src/main/java/osm/surveyor/matchtime/gui/ParameterPanelGpx.java +++ b/src/main/java/osm/surveyor/matchtime/gui/ParameterPanelGpx.java @@ -28,7 +28,7 @@ // "選択..." selectButton = new JButton( i18n.getString("button.select"), - ReStamp.createImageIcon("images/Open16.gif") + ReStamp.createImageIcon("/images/Open16.gif") ); selectButton.addActionListener(this); this.add(selectButton); diff --git a/src/main/java/osm/surveyor/matchtime/gui/restamp/CardPerformFile.java b/src/main/java/osm/surveyor/matchtime/gui/restamp/CardPerformFile.java index 3f3236d..857f941 100644 --- a/src/main/java/osm/surveyor/matchtime/gui/restamp/CardPerformFile.java +++ b/src/main/java/osm/surveyor/matchtime/gui/restamp/CardPerformFile.java @@ -70,7 +70,7 @@ // [処理実行]ボタン doButton = new JButton( i18n.getString("button.execute"), - ReStamp.createImageIcon("images/media_playback_start.png") + ReStamp.createImageIcon("/images/media_playback_start.png") ); argsPanel.add(doButton); diff --git a/src/main/java/osm/surveyor/matchtime/gui/restamp/DialogCorectTime.java b/src/main/java/osm/surveyor/matchtime/gui/restamp/DialogCorectTime.java index c66751b..2170d25 100644 --- a/src/main/java/osm/surveyor/matchtime/gui/restamp/DialogCorectTime.java +++ b/src/main/java/osm/surveyor/matchtime/gui/restamp/DialogCorectTime.java @@ -87,11 +87,11 @@ // 画像ファイル選択ダイアログを起動するボタン 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); diff --git a/src/main/resources/i18n.properties b/src/main/resources/i18n.properties index 6e0372b..4f9e4ff 100644 --- a/src/main/resources/i18n.properties +++ b/src/main/resources/i18n.properties @@ -73,4 +73,3 @@ msg.265=[error] Did not create folder. msg.270=[error] is not folder. msg.275=[error] is not writable. -IMAGES/FIT16.GIF=images/Fit16.gif diff --git a/src/main/resources/i18n_ja_JP.properties b/src/main/resources/i18n_ja_JP.properties index f39745e..4aeea8e 100644 --- a/src/main/resources/i18n_ja_JP.properties +++ b/src/main/resources/i18n_ja_JP.properties @@ -74,4 +74,3 @@ msg.265=[error] <\u51fa\u529b\u5148\u30d5\u30a9\u30eb\u30c0>\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f msg.270=[error] <\u51fa\u529b\u5148\u30d5\u30a9\u30eb\u30c0>\u306f\u30d5\u30a9\u30eb\u30c0\u3058\u3083\u306a\u3044 msg.275=[error] <\u51fa\u529b\u5148\u30d5\u30a9\u30eb\u30c0>\u306b\u306f\u66f8\u304d\u8fbc\u307f\u3067\u304d\u307e\u305b\u3093 -IMAGES/FIT16.GIF=images/Fit16.gif