On Thu, 29 May 2025 21:27:22 GMT, Harshitha Onkar <hon...@openjdk.org> wrote:

>> Alexey Ivanov has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Correct the title of the test frames
>
> test/jdk/javax/swing/JFileChooser/HTMLFileName.java line 81:
> 
>> 79:                       in the navigation combo box above is displayed
>> 80:                       as HTML, then press <b>Pass</b>.<br>
>> 81:                       If it is in plain text, then press <b>Fail</b>.
> 
> According to test instructions it states that the file name in the **file 
> pane** and navigation combo box must be displayed as HTML. When I'm testing 
> with system (Aqua) LaF on macOS the file name in file pane appears blank 
> (with the original as well as updated test).
> 
> <img 
> src="https://github.com/user-attachments/assets/5b78d972-4d2f-41d3-ab6b-c9c4b0a8b767";
>  alt="HTML_Enabled" width=400 height=300 />

@honkar-jdk I added a note about macOS and Aqua L&F to the instructions.

I thought it was a problem in `JTable`, but putting this HTML code in SwingSet2 
into a table cell renders HTML.

I guess I should submit a low priority bug to investigate why HTML displays as 
an empty file name in `JFileChooser` in Aqua Look-and-Feel.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25455#discussion_r2150837839

Reply via email to