Closedown
This commit is contained in:
@@ -212,7 +212,8 @@ public class XPSSpectrum extends Panel {
|
||||
steps = Math.max(1, (int)valueIterations.getValue());
|
||||
}
|
||||
int seconds = (int) (Double.valueOf(dvpAcqTime.getLabel().getText()) * steps);
|
||||
textTotalTime.setText(LocalTime.ofSecondOfDay(seconds).toString());
|
||||
int hours= seconds / (60 * 60);
|
||||
textTotalTime.setText(hours >= 24 ? hours+"h": LocalTime.ofSecondOfDay(seconds).toString());
|
||||
}
|
||||
} catch (Exception ex){
|
||||
getLogger().log(Level.FINE, null, ex);
|
||||
|
||||
Reference in New Issue
Block a user