}
private void fireProgress(int origProgress, int maxVal,
Date startDate, Date endDate, String[] keywords)
{
ProgressEvent ev = new ProgressEvent(
MetaHistoryServiceImpl.this,
startDate,
endDate,
keywords);
double part1 = (double)origProgress/
((double)maxVal*count);
double convProgress =
part1*HistorySearchProgressListener.PROGRESS_MAXIMUM_VALUE +
ix*HistorySearchProgressListener.PROGRESS_MAXIMUM_VALUE/count;
ev.setProgress((int)convProgress);
fireEvent(ev);
}