}
public void openGroups(JetiPrivateRosterExtension extension)
{
String[] groups = extension.getOpenGroups();
JIDStatusTree tree = ((JIDStatusTree) getModel().getRoot());
if (groups == null) return;
for (int i = 0; i < groups.length; i++)
{
if(tree.existGroup(groups[i]))
{
TreePath path = new TreePath(new Object[] { tree, tree.getGroup(groups[i])});
if (treeExpander != null) {
treeExpander.expand(path);
} else {
expandPath(path);
}