On Tue, 4 Jul 2023 09:03:00 GMT, Abhishek Kumar <abhis...@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