}
DefaultMutableTreeNode node = (DefaultMutableTreeNode) path.getLastPathComponent();
Object userObject = node.getUserObject();
if (userObject instanceof SimilarityGroup) {
SimilarityGroup similarValues = (SimilarityGroup) userObject;
AnnotatedRowsResult annotatedRowsResult = similarValues.getAnnotatedRows();
AnnotatedRowsResultSwingRenderer renderer = new AnnotatedRowsResultSwingRenderer();
JPanel comp = renderer.render(annotatedRowsResult);
centerPanel.removeAll();
centerPanel.add(comp, BorderLayout.NORTH);
centerPanel.updateUI();