RFR: 8348760: RadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel [v36]
Alexander Zuev
kizune at openjdk.org
Sat Jul 26 02:56:04 UTC 2025
On Thu, 17 Jul 2025 02:18:16 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:
>
> Remove Windows version check
Ok, on Windows 10 it kind of works but there's some confusion about the radio button's check mark size. Here:
<img width="359" height="350" alt="w10latest" src="https://github.com/user-attachments/assets/f52007ea-6aaf-4a08-b98b-ca8deabdb424" />
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23324#issuecomment-3121055412
More information about the client-libs-dev
mailing list