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

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Feb 7 05:26: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 incrementally with two additional commits since the last revision:

 - remove test file
 - Move text position w.r.t menuItem icon

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23324/files
  - new: https://git.openjdk.org/jdk/pull/23324/files/31cdc707..5742db5b

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

  Stats: 252 lines in 4 files changed: 153 ins; 97 del; 2 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