if (contentList == null) {
contentList = Collections.<AbstractFile>emptyList();
}
final TopComponent searchResultWin = DataResultTopComponent.createInstance(title, pathText,
new TableFilterNode(new SearchNode(contentList), true), contentList.size());
searchResultWin.requestActive(); // make it the active top component
/**
* If total matches more than 1000, pop up a dialog box that say
* the performance maybe be slow and to increase the
* performance, tell the users to refine their search.