<Swing Dev> RFR: 8263454: com.apple.laf.AquaFileChooserUI ignores the result of String.trim() [v2]
Sergey Bylokhov
serb at openjdk.java.net
Wed Mar 24 20:15:40 UTC 2021
On Tue, 23 Mar 2021 14:55:58 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:
>> Looks like the original idea was to set `fallbacktext` on strings containing only spaces.
>>
>> I decided to remove the `trim()` call to keep the same behavior and to allows to set such meaningless space only titles/tooltips(same as on other platforms, maybe someone want empty label for some reason).
>
> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
>
> allow empty text
Marked as reviewed by serb (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/3136
More information about the swing-dev
mailing list