devplugin.Date startDate = new devplugin.Date();
Cursor cursor = comp.getCursor();
try {
comp.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
ProgramSearcher searcher = searcherSettings.createSearcher();
ProgressMonitor progressMonitor = null;
if (mProgressMonitor == null && !TvDataUpdater.getInstance().isDownloading()) {
progressMonitor = MainFrame.getInstance().getStatusBar().createProgressMonitor();
progressMonitor.setMessage(mLocalizer.msg("searching","Searching"));
}
Program[] programArr = searcher.search(searcherSettings.getFieldTypes(), startDate, searcherSettings
.getNrDays(), searcherSettings.getChannels(), true, mProgressMonitor != null ? mProgressMonitor : progressMonitor, mListModel);
comp.setCursor(cursor);
if (programArr.length == 0) {
UIThreadRunner.invokeLater(new Runnable() {