RFR: 8283214: [macos] Screen magnifier does not show the magnified text for JcomboBox [v3]

Abhishek Kumar abhiscxk at openjdk.org
Tue Jul 4 09:31:03 UTC 2023


On Tue, 4 Jul 2023 09:03:00 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

>> How does `JTable` handle the situation where an image is displayed? You can use SwingSet2 for testing: it displays colored text and images.
>
>> This doesn't really answer the question. Do JTable and JList correctly display the magnified text when a custom renderer is used? In the case with rectangle and a custom renderer? Do they still display text from toString?
> 
> Checked with JList and it correctly displayed the magnified text for a rectangle and custom renderer. 
> The `toString` method of `Rectangle` class is not invoked.

> How does `JTable` handle the situation where an image is displayed? You can use SwingSet2 for testing: it displays colored text and images.

In Swingset2, the accessibleName is explicitly set for an image in JTable.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14497#discussion_r1251762146



More information about the client-libs-dev mailing list