ProgressPanel.java: implemented the behavior for both the abort button
and the button within the panel's tab.