scaledImageCache = new ImageCache();
scaledImageCache = new ImageCache<Image,Image>();
    private void zoom(){        checkZoomIndex();        scale = ZOOM_FACTORS[zoomIndex];        GUIPreferences.getInstance().setMapZoomIndex(zoomIndex);        hex_size = new Dimension((int)(HEX_W*scale), (int)(HEX_H*scale));        final Dimension size = getSize();                scaledImageCache = new ImageCache();        cursorSprite.prepare();        highlightSprite.prepare();        selectedSprite.prepare();        firstLOSSprite.prepare();        secondLOSSprite.prepare();        updateBoard();        view.setLocation(scroll);        view.setSize(getOptimalView(size));        offset.setLocation(getOptimalOffset(size));        updateFontSizes();        updateBoardImage();                repaint();    }