List of usage examples for java.awt Scrollbar getValue
public int getValue()
From source file:gdsc.utils.HSB_Picker.java
private void setSliderLabel(final Scrollbar sliderField, final Label sliderLabel, double scale) { double value = sliderField.getValue() / scale; sliderLabel.setText(String.format("%.2f", value)); }