On Tue, 22 Apr 2025 16:34:47 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> Harshitha Onkar has updated the pull request incrementally with one >> additional commit since the last revision: >> >> minor > > test/jdk/javax/swing/JFileChooser/bug4943900.java line 40: > >> 38: >> 39: public class bug4943900 { >> 40: private static final String INSTRUCTIONS = """ > > The instructions look quite ugly on macOS, the frame with the instructions is > too wide. I guess it's because you had to increase the width to accommodate > for a smaller monospaced font on Windows. > > One way to avoid the issue is to use HTML formatting. (This would also handle > word-wrapping.) > > Another way is to use regular string, rather than a text block, and rely on > word-wrapping. > > It's only cosmetic, though. Used HTML formatting. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24456#discussion_r2054484668