This commit is contained in:
@@ -48,7 +48,6 @@ public class MainPanel extends Panel {
|
||||
} else {
|
||||
progressLN2.setIndeterminate(false);
|
||||
double val = ((Number)value).doubleValue() * 10.0;
|
||||
val = Math.min(Math.max((int)(val *10), 0), 1000);
|
||||
progressLN2.setValue(Math.min(Math.max((int)val, 0), 1000));
|
||||
}
|
||||
}
|
||||
@@ -144,7 +143,6 @@ public class MainPanel extends Panel {
|
||||
|
||||
progressLN2.setMaximum(1000);
|
||||
progressLN2.setOrientation(1);
|
||||
progressLN2.setValue(500);
|
||||
|
||||
jLabel3.setText("<html>Start<br>Filling</html>");
|
||||
|
||||
@@ -219,7 +217,6 @@ public class MainPanel extends Panel {
|
||||
|
||||
progressWater.setMaximum(1000);
|
||||
progressWater.setOrientation(1);
|
||||
progressWater.setValue(500);
|
||||
|
||||
javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
|
||||
jPanel2.setLayout(jPanel2Layout);
|
||||
|
||||
Reference in New Issue
Block a user