Integrated: 8348760: RadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel

Prasanta Sadhukhan psadhukhan at openjdk.org
Thu Aug 7 16:07:40 UTC 2025


On Tue, 28 Jan 2025 03:40:26 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.

This pull request has now been integrated.

Changeset: e29346db
Author:    Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e29346dbd6328dcadc347a70d8c06ce141efef02
Stats:     630 lines in 8 files changed: 524 ins; 81 del; 25 mod

8348760: RadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel

Reviewed-by: prr, kizune, abhiscxk

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

PR: https://git.openjdk.org/jdk/pull/23324


More information about the client-libs-dev mailing list