valueText.setText(String.format(locale, formatString, getValue()));
}
public void setFormatString(final String FORMAT_STRING) {
formatString = FORMAT_STRING;
valueText.setText(String.format(locale, formatString, getValue()));
<BUG>}
private void updateBar(final double VALUE) {</BUG>
valueText.setText(String.format(locale, formatString, VALUE));
<BUG>valueText.setX((width * 0.95) - valueText.getLayoutBounds().getWidth());
</BUG>
bar.setWidth(VALUE * stepSize);

valueText.setText(String.format(locale, formatString, getValue()));
}
public void setFormatString(final String FORMAT_STRING) {
formatString = FORMAT_STRING;
valueText.setText(String.format(locale, formatString, getValue()));
}
protected void setParentSize(final double WIDTH, final double HEIGHT) {
parentWidth  = WIDTH;
parentHeight = HEIGHT;
}
private void updateBar(final double VALUE) {
valueText.setText(String.format(locale, formatString, VALUE));
valueText.setX((width - size * 0.05) - valueText.getLayoutBounds().getWidth());
