Do not set indeterminate state on progress bars

The progress bars for installing third-party libraries were initialized
with indeterminate mode.  This results in a pretty *I'm doing something*
animation which slows down the system.  Furthermore, the progress bars are
not even visible, so there is no need for any animation.

Fixes processing#1561
This commit is contained in:
David Fokkema
2014-04-14 11:09:47 +02:00
parent 9b94c26057
commit b05c59c27c
@@ -484,7 +484,7 @@ class ContributionPanel extends JPanel {
protected void resetInstallProgressBarState() {
installProgressBar.setString("Starting");
installProgressBar.setIndeterminate(true);
installProgressBar.setIndeterminate(false);
installProgressBar.setValue(0);
installProgressBar.setVisible(false);
}