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

Prasanta Sadhukhan psadhukhan at openjdk.org
Thu Jan 30 12:49:14 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 two additional commits since the last revision:

 - Remove duke
 - RadioButton not drawn. ImageIcon on the fly

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23324/files
  - new: https://git.openjdk.org/jdk/pull/23324/files/9aeda887..6a8faec5

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

  Stats: 43 lines in 3 files changed: 6 ins; 32 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