Move images to res/.
This commit is contained in:
parent
701a94784e
commit
eb174d379d
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
@ -62,9 +62,9 @@ public class MapZoomControls {
|
|||||||
public MapZoomControls(Component component, final int defaultZoom, final int minZoom, final int maxZoom)
|
public MapZoomControls(Component component, final int defaultZoom, final int minZoom, final int maxZoom)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
|
|
||||||
zoomIn = ImageIO.read(new File("zoomIn.png")).getScaledInstance(DEFAULT_HEIGHT, DEFAULT_HEIGHT,
|
zoomIn = ImageIO.read(new File("res/zoomIn.png")).getScaledInstance(DEFAULT_HEIGHT, DEFAULT_HEIGHT,
|
||||||
Image.SCALE_SMOOTH);
|
Image.SCALE_SMOOTH);
|
||||||
zoomOut = ImageIO.read(new File("zoomOut.png")).getScaledInstance(DEFAULT_HEIGHT, DEFAULT_HEIGHT,
|
zoomOut = ImageIO.read(new File("res/zoomOut.png")).getScaledInstance(DEFAULT_HEIGHT, DEFAULT_HEIGHT,
|
||||||
Image.SCALE_SMOOTH);
|
Image.SCALE_SMOOTH);
|
||||||
|
|
||||||
this.currentLevel = defaultZoom;
|
this.currentLevel = defaultZoom;
|
||||||
|
Loading…
Reference in New Issue
Block a user