RFR: 6513512: MetalLookAndFeel.initClassDefaults does not install an entry for MetalMenuBarUI [v3]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Thu Jan 12 13:17:15 UTC 2023
On Sat, 7 Jan 2023 02:19:18 GMT, Phil Race <prr at openjdk.org> wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Spec update
>
> We need to clarify here what we want before the CSR can be completed.
> One comment in the draft CSR got my attention -
>
> "MetalMenuBarUI entry is not registered in this method although is is part of javax.swing.plaf.metal since it is registered in OceanTheme class, which is used by MetalLookAndFeel by default."
>
> Hmm .. so now I'm wondering if we are phrasing things correctly.
> If themes register the UIs they use why does this method do *anything* ?
> Or is there some *assumption* that all themes use MOST of them and so they are always registerr but
> some UIs are registered only by themes that use them ?
> You tell me what actually happens and I can help you word it.
@prrace please review updated spec..
-------------
PR: https://git.openjdk.org/jdk/pull/11646
More information about the client-libs-dev
mailing list