if (cellRenderer == null || cellRenderer instanceof SDefaultTreeCellRenderer) {
if (cellRenderer == null || cellRenderer.getClass().equals(SDefaultTreeCellRenderer.class)) {
    protected void installCellRenderer(STree tree) {        STreeCellRenderer cellRenderer = tree.getCellRenderer();        if (cellRenderer == null || cellRenderer instanceof SDefaultTreeCellRenderer) {            cellRenderer = new SDefaultTreeCellRenderer();            configureCellRenderer(tree, (SDefaultTreeCellRenderer)cellRenderer);            tree.setCellRenderer(cellRenderer);        }    }