public void expandNode(ATreeNode treeNode) {
int nbRows = configTree.getRowCount();
TreePath treePath;
for (int rowIndex = 0; rowIndex < nbRows; ++rowIndex) {
treePath = configTree.getPathForRow(rowIndex);
ATreeNode searchTreeNode = (ATreeNode) ((DefaultMutableTreeNode) treePath
.getLastPathComponent()).getUserObject();
if (searchTreeNode.equals(treeNode)) {
configTree.expandRow(rowIndex);
}
}
}