protected void fireProgressStarted(int totalNumberOfSteps) {
ProgressEvent event = new ProgressEvent(0, totalNumberOfSteps);
for (int i = 0; i < progressListeners.size(); i++) {
ProgressListener listener = (ProgressListener) progressListeners.get(i);
listener.progressStarted(event);
}
}
protected void fireProgressEnded(int totalNumberOfSteps) {
ProgressEvent event = new ProgressEvent(totalNumberOfSteps, totalNumberOfSteps);