RFR: 8348760: RadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel [v24]

Alexander Zuev kizune at openjdk.org
Mon Mar 24 19:07:25 UTC 2025


On Wed, 12 Mar 2025 11:00:30 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> When JRadioButtonMenuItem is called with imageIcon, then only imageIcon is shown without radiobutton in WIndowsLookAndFeel as there was no provision of drawing the radiobutton alongside icon.
>> If icon is not there, the radiobutton is drawn. Added provision of drawing the radiobutton windows Skin even when imageIcon is present.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Review comments fix

Screenshot from Windows 10 - just for the reference.
![image](https://github.com/user-attachments/assets/e1082a14-8fdb-4f49-b827-c00f2b6724a2)

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

PR Comment: https://git.openjdk.org/jdk/pull/23324#issuecomment-2749139860


More information about the client-libs-dev mailing list