RFR: 8335547: Support multi-line prompt text for TextArea

Michael Strauß mstrauss at openjdk.org
Thu Mar 20 20:02:21 UTC 2025


On Thu, 20 Mar 2025 14:38:16 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Added multi line prompt support for TextArea this will provide the ability to have multiple lines in textArea as expected,
>> Also fixed tests to meet the new changes
>
> modules/javafx.controls/src/test/java/test/javafx/scene/control/TextAreaTest.java line 28:
> 
>> 26: package test.javafx.scene.control;
>> 27: 
>> 28: import static org.junit.jupiter.api.Assertions.*;
> 
> please do not use wildcard imports

In tests, and especially for assertions, wildcard imports are usually accepted. We use them all over the place. However, I would agree that symbols other than assertions should usually be fully qualified.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1716#discussion_r2006358989


More information about the openjfx-dev mailing list