From b05c59c27c108a17aedd4ead08ade1490efddb23 Mon Sep 17 00:00:00 2001 From: David Fokkema Date: Mon, 14 Apr 2014 11:09:47 +0200 Subject: [PATCH] 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 --- app/src/processing/app/contrib/ContributionPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/processing/app/contrib/ContributionPanel.java b/app/src/processing/app/contrib/ContributionPanel.java index 09ba24faf..6a6a5e90e 100644 --- a/app/src/processing/app/contrib/ContributionPanel.java +++ b/app/src/processing/app/contrib/ContributionPanel.java @@ -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); }