RFR: 8348760: RadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel [v5]
Alexey Ivanov
aivanov at openjdk.org
Thu Jan 30 13:42:51 UTC 2025
On Thu, 30 Jan 2025 13:18:25 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> > You shouldn't render an unselected radio button in menu.
>
> Please check updated PR…
I saw your update. I wrote this comment before you removed rendering the unselected radio button.
> …share your testcase
Here's the latest version of [modified `TestImageIconWithJRadioButtonMenuItem.java`](https://github.com/openjdk/jdk/blob/de48cbdf37fd812d652f6dc7113e700b0d26f99d/test/jdk/javax/swing/JMenuItem/TestImageIconWithJRadioButtonMenuItem.java).
The diff [between yours and mine](https://github.com/openjdk/jdk/compare/4a5a7790e00650cbdd87d533429e3b47a537c3e8..de48cbdf37fd812d652f6dc7113e700b0d26f99d).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23324#issuecomment-2624548270
More information about the client-libs-dev
mailing list