Completed panel
This commit is contained in:
@@ -106,7 +106,7 @@ public final class ScientaPanel extends DevicePanel {
|
||||
@Override
|
||||
public void onValueChanged(final Device device, final Object value, final Object former) {
|
||||
SwingUtilities.invokeLater(() -> {
|
||||
valueCurrent.setValue((Double) value);
|
||||
valueCurrent.setValue((Integer) value);
|
||||
progress.setValue((int) (getDevice().getProgress() * 1000));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user