model.getTreeView().repaint();
if (model.getTreeView() != null) model.getTreeView().repaint();
    public void setAnnotationEdition(DataObject ho)    {        if (model.getState() == DISCARDED)            throw new IllegalStateException(                    "This method cannot be invoked in the DISCARDED state.");        if (ho == null) throw new IllegalArgumentException("No DataObject.");        Browser browser = model.getBrowser();        FindAnnotatedVisitor visitor = new FindAnnotatedVisitor(this, ho);        if (ho instanceof ImageData)            browser.accept(visitor, ImageDisplayVisitor.IMAGE_NODE_ONLY);        else browser.accept(visitor, ImageDisplayVisitor.IMAGE_SET_ONLY);        model.getTreeView().repaint();    }