Is there any reliable way to change text or set System Locale for controls.properties?
This should work:
progressIndicator.progressProperty().addListener((obs, oldValue, newValue) -> {
if (newValue.doubleValue() >= 1.0) {
Text doneText = (Text) progressBar.lookup(".percentage");
doneText.setText("Finished");
}
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With