RFR: 8335547: Support multi-line prompt text for TextArea [v2]
Ziad El Midaoui
zelmidaoui at openjdk.org
Mon Mar 24 13:15:19 UTC 2025
On Fri, 21 Mar 2025 06:00:12 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
>> You should consider using a fluent binding here, which is a more modern solution compared to the `Bindings` class. It is also simpler because you don't need to check for `null`:
>>
>>
>> promptNode.textProperty().bind(getSkinnable().promptTextProperty().map(s -> s.replace("\n", "")));
>
> Have you considered the suggestion?
Yes I will push the new changes thanks for the suggestion @mstr2
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1716#discussion_r2010157516
More information about the openjfx-dev
mailing list