if ( folderList != null ) {
TreeNode rootNode = this.treePanel.getRootNode();
Node[] children = rootNode.getChildNodes();
if ( children != null ) {
for (Node child : children) {
rootNode.removeChild( child );
}
}
for (ContactFolder contactFolder : folderList) {
addContactFolder( contactFolder );
}