<Swing Dev> RFR: 8263454: com.apple.laf.AquaFileChooserUI ignores the result of String.trim()
Pankaj Bansal
pbansal at openjdk.java.net
Tue Mar 23 04:55:40 UTC 2021
On Mon, 22 Mar 2021 22:19:18 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).
Marked as reviewed by pbansal (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/3136
More information about the swing-dev
mailing list