System.out.println("state: "+model.getState());
    public void setHierarchyRoot(int rootLevel, long rootID)    {        int oldLevel = model.getRootLevel();        model.setHierarchyRoot(rootLevel, rootID);        System.out.println("state: "+model.getState());        if (model.getState() == READY)            firePropertyChange(HIERARCHY_ROOT_PROPERTY, new Integer(oldLevel),                                new Integer(rootLevel));    }