selectedClass = null;
}
public void run() {
try {
SearchPlugin panel = searchPanelClass.getConstructor(
ClassbenchContext.class, DefaultMutableTreeNode.class)
.newInstance(ctx, rootNode);
JDialog dialog = Dialog.newDialog(panel);
dialog.setModal(true);
dialog.setVisible(true);
selectedClass = panel.getSelectedClass();
} catch (Exception exc) {
exc.printStackTrace();
}
}