if ( north==c ) north = null; if ( south==c ) south = null; if ( east==c ) east = null; if ( west==c ) west = null; if ( center==c ) center = null;
if (c == null) return;  Iterator iterator = components.entrySet().iterator(); while (iterator.hasNext()) { Map.Entry entry = (Map.Entry)iterator.next(); if (c.equals(entry.getValue())) { iterator.remove(); break; } }
    public void removeComponent(SComponent c) {        if ( north==c )            north = null;        if ( south==c )            south = null;        if ( east==c )            east = null;        if ( west==c )            west = null;        if ( center==c )            center = null;    }