On Fri, 30 Jun 2023 11:16:27 GMT, Abhishek Kumar <abhis...@openjdk.org> wrote:

> If I understand correctly, with current fix the `getSelectedItem` method will 
> return the `rectangle` object and then calling `toString` method will return 
> rectangle's dimension instead of the displayed text in JComboBox and that may 
> result incorrectly. Right?

Yes.

I wonder if other components support this scenario.

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

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

Reply via email to