<Swing Dev> RFR: 8263454: com.apple.laf.AquaFileChooserUI ignores the result of String.trim()

Sergey Bylokhov serb at openjdk.java.net
Mon Mar 22 22:34:38 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 serb (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/3136


More information about the swing-dev mailing list