I'm still learning and I hope you can help me:
I have an Object myObject
that stores a double value, which represents the percentage progress of a calculation
(When myObject is inizialized, the value is 0D, and often updated inside myObject itself until it reaches 100D).
I'd like to bind this double value to a javaFX progressBar, so that when the value stored in myObject is updated, so the progressBar will.
I heard something about Observer/Observable/Listener.
Is this what I am looking for? Can someone show me some code so that I can understand?
Thanks!