Changeset 1372 in josm


Ignore:
Timestamp:
2009-02-07T21:49:13+01:00 (12 years ago)
Author:
stoecker
Message:

fixed #2045. patch by xeen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/PleaseWaitDialog.java

    r1304 r1372  
    1616import javax.swing.JPanel;
    1717import javax.swing.JProgressBar;
     18import javax.swing.UIManager;
    1819
    1920import org.openstreetmap.josm.Main;
     
    5253    }
    5354   
    54     public void setIndeterminate(boolean newValue) {
     55    public void setIndeterminate(boolean newValue) {   
     56        UIManager.put("ProgressBar.cycleTime", UIManager.getInt("ProgressBar.repaintInterval") * 100);
    5557        progressBar.setIndeterminate(newValue);
    5658    }
Note: See TracChangeset for help on using the changeset viewer.