public Image getBase(IHex hex, Component comp) {
public synchronized Image getBase(IHex hex, Component comp) {
    public Image getBase(IHex hex, Component comp) {        Object[] pair = (Object[])hexToImageCache.get(hex);        if (pair == null) {          pair = assignMatch(hex, comp);        }        return (Image) pair[0];    }