RFR: 8348760: RadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel [v18]
Phil Race
prr at openjdk.org
Fri Mar 14 16:30:08 UTC 2025
On Fri, 14 Mar 2025 14:59:30 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> CheckMenuRadioItem is there in win32 API
Ok.
> but is not called in our windows native.
> It does not have provision of having image icon passed to it.
I don't see how either of these matters.
I'm sure there are lots of windows controls we don't use in AWT. Swing is much richer.
For an extreme example, how would you compare the GDI table component to Swing's ?
As I said off-line, you just need to write a small native program to verify how it should render.
And if there's no provision for an image icon, then the Swing Windows L&F doesn't need to support it either
We don't (shouldn't) chase what Windows File Explorer does. That's not representative. It is a prominent
app and likely heavily customised in its drawing.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23324#issuecomment-2725181969
More information about the client-libs-dev
mailing list