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

Abhishek Kumar abhiscxk at openjdk.org
Fri Jun 30 07:49:03 UTC 2023


On Thu, 29 Jun 2023 13:39:26 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> I tested several times, didn't get such kind of result and as per java docs toString method returns `a string representation of the object.` So, I think it will be a valid string.
>
> An interesting question… it depends on the object.
> 
> At the same time, if I'm not mistaken, the renderer also uses `.toString()` to display an object. However, it's possible to set a custom renderer which may display an arbitrary property from an object.
> 
> Did you try to populate combo box with anything but `String` objects?

I tried with the `Integer` object and it works fine. Please suggest if anything else I can test.

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

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



More information about the client-libs-dev mailing list