Changeset 1372 in josm for trunk/src/org
- Timestamp:
- 2009-02-07T21:49:13+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/PleaseWaitDialog.java
r1304 r1372 16 16 import javax.swing.JPanel; 17 17 import javax.swing.JProgressBar; 18 import javax.swing.UIManager; 18 19 19 20 import org.openstreetmap.josm.Main; … … 52 53 } 53 54 54 public void setIndeterminate(boolean newValue) { 55 public void setIndeterminate(boolean newValue) { 56 UIManager.put("ProgressBar.cycleTime", UIManager.getInt("ProgressBar.repaintInterval") * 100); 55 57 progressBar.setIndeterminate(newValue); 56 58 }
Note:
See TracChangeset
for help on using the changeset viewer.