Object o = iconMap.get(key);
if (o instanceof MultiImageIcon)
{
// Multi size icon, get the right size
MultiImageIcon mii = (MultiImageIcon) o;
if (preferredSize != FlexibleSize.UNDETERMINED)
{
return mii.getIcon(preferredSize);
}
return mii;
}
else if (o instanceof ImageIcon)
{