i--;
    protected void detachChildren() {        for (int i = 0; i < getInlineChildCount(); i++) {            Object object = getInlineChild(i);            if (object instanceof Box) {                ((Box)object).detach();            }        }    }