if (cellRenderer != null && cellRenderer instanceof SDefaultTreeCellRenderer)
if (cellRenderer != null && cellRenderer.getClass().equals(SDefaultTreeCellRenderer.class))
    protected void uninstallCellRenderer(STree tree) {        STreeCellRenderer cellRenderer = tree.getCellRenderer();        if (cellRenderer != null && cellRenderer instanceof SDefaultTreeCellRenderer)            tree.setCellRenderer(null);    }