RFR: 8290040: Provide simplified deterministic way to manage listeners [v2]

John Hendrikx jhendrikx at openjdk.org
Thu Sep 1 13:47:22 UTC 2022


On Thu, 1 Sep 2022 13:42:26 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

>> modules/javafx.base/src/main/java/javafx/beans/value/ObservableValue.java line 302:
>> 
>>> 300:      * ObservableValue<String> globalProperty = new SimpleStringProperty("A");
>>> 301:      *
>>> 302:      * // bind label's text to a global property only when it is shown:
>> 
>> "a label's"
>
> `label` here is referring to the variable name, I think `a label` might be confusing -- I've changed it to `the label` for now.

Never mind, you're next suggestion solves it.

-------------

PR: https://git.openjdk.org/jfx/pull/830


More information about the openjfx-dev mailing list