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

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Mar 7 17:06:11 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 incrementally with one additional commit since the last revision:

  Remove Windows L&F check from BasicMenuItemUI

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23324/files
  - new: https://git.openjdk.org/jdk/pull/23324/files/38876068..00daa8fb

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23324&range=18
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23324&range=17-18

  Stats: 295 lines in 5 files changed: 274 ins; 16 del; 5 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