frameChildren.remove((String)sh.frame.getValue("name"));
frameChildren.remove(sh.frame);
    public void remove(ShapeGraphic sh) {        children.remove(sh);        sh.setParent(null);        if (sh.frame != null)            frameChildren.remove((String)sh.frame.getValue("name"));        layoutChildren();    }