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.

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

Commit messages:
 - jecheck
 - 8348760: RadioButton is not shown if JRadioButtonMenuItem is rendered with 
ImageIcon in WindowsLookAndFeel

Changes: https://git.openjdk.org/jdk/pull/23324/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23324&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8348760
  Stats: 126 lines in 3 files changed: 122 ins; 1 del; 3 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

Reply via email to