RFR: 8348760: RadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel [v18]
Alexey Ivanov
aivanov at openjdk.org
Fri Mar 7 13:27:56 UTC 2025
On Wed, 5 Mar 2025 03:13:32 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 comment fix
Comparing side by side:
| Windows 10 | Windows 11 |
|---------------|---------------|
|  |  |
This is how Swing currently renders the same menu in Windows 10 and 11.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23324#issuecomment-2706450223
More information about the client-libs-dev
mailing list