RFR: 8348760: RadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel [v35]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Wed Jul 16 07:46:10 UTC 2025
> 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 with a new target base due to a merge or a rebase. The pull request now contains 39 commits:
- Merge master
- bullet/checkmark placement for varying imageicon size fix, test update
- Adjust offset for varying size imageicon
- squish fix
- Alignment fix
- MenuItem with icon fix
- Merge branch 'master' of https://git.openjdk.java.net/jdk into JDK-8348760
- Windows 10 offset correction without icon
- Fix issue for presence of gap between buller and text only if atleast 1 menuitem has imageicon
- Text alignment fix
- ... and 29 more: https://git.openjdk.org/jdk/compare/b85440d0...bc6f064c
-------------
Changes: https://git.openjdk.org/jdk/pull/23324/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23324&range=34
Stats: 652 lines in 8 files changed: 548 ins; 77 del; 27 mod
Patch: https://git.openjdk.org/jdk/pull/23324.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23324/head:pull/23324
PR: https://git.openjdk.org/jdk/pull/23324
More information about the client-libs-dev
mailing list