This commit is contained in:
2018-04-23 09:22:45 +02:00
parent ce84673d52
commit 49308cab66
2 changed files with 0 additions and 5 deletions

View File

@@ -213,7 +213,6 @@
<Properties>
<Property name="maximum" type="int" value="1000"/>
<Property name="orientation" type="int" value="1"/>
<Property name="value" type="int" value="500"/>
</Properties>
</Component>
<Component class="javax.swing.JSeparator" name="jSeparator3">
@@ -268,7 +267,6 @@
<Properties>
<Property name="maximum" type="int" value="1000"/>
<Property name="orientation" type="int" value="1"/>
<Property name="value" type="int" value="500"/>
</Properties>
</Component>
</SubComponents>

View File

@@ -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);