thresholdText.setY(thresholdRect.getLayoutBounds().getMinY() + thresholdRect.getHeight() * 0.5);
}
}
@Override protected void resize() {
super.resize();
<BUG>double centerX   = size * 0.5;

double centerY   = size * 0.7825;
</BUG>
double barRadius = size * 0.3;

thresholdText.setY(thresholdRect.getLayoutBounds().getMinY() + thresholdRect.getHeight() * 0.5);
}
}
@Override protected void resize() {
super.resize();
double centerX   = width * 0.5;
double centerY   = height * 0.5;
double barRadius = size * 0.3;
