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

Prasanta Sadhukhan psadhukhan at openjdk.org
Tue Jun 24 05:42:04 UTC 2025


On Thu, 19 Jun 2025 09:45:14 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> > In SwingSet2, now there will be gap between bullet and text to accomodate non-existing imageicon
> 
> That gap should only be there if _at least one_ menu item has an image icon. It shoudn't be there if none have an icon.

@prrace Fixed now in latest iteration

![image](https://github.com/user-attachments/assets/9d921443-ea59-4969-aa09-3291c01b9113)

SwingSet2 there's no gap for RBMI since there are no imageicons

![image](https://github.com/user-attachments/assets/f1e5499a-dd8d-4d03-a4bc-00c00f0fe98e)

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

PR Comment: https://git.openjdk.org/jdk/pull/23324#issuecomment-2998889287


More information about the client-libs-dev mailing list