Re: RFR: 6513512: MetalLookAndFeel.initClassDefaults does not install an entry for MetalMenuBarUI [v5]

2023-02-07 Thread Prasanta Sadhukhan
On Wed, 8 Feb 2023 02:19:52 GMT, Sergey Bylokhov wrote: > We can initialize it as suggested but then we should somehow exclude the code > path in it for the old "basic/DefaultMetalTheme" which do not use this > property(like via MetalLookAndFeel.usingOcean()) I guess you are talking about this

Re: RFR: 6513512: MetalLookAndFeel.initClassDefaults does not install an entry for MetalMenuBarUI [v5]

2023-02-07 Thread Sergey Bylokhov
On Tue, 7 Feb 2023 20:35:52 GMT, Alexey Ivanov wrote: >So it looks all Metal themes use MetalMenuBarUI. As such, moving the >registration of MenuBarUI class id from OceanTheme to MetalLookAndFeel makes >sense. Especially, taking into account that javadoc for MetalMenuBarUI states, >it “is resp

Re: RFR: 6513512: MetalLookAndFeel.initClassDefaults does not install an entry for MetalMenuBarUI [v5]

2023-02-07 Thread Alexey Ivanov
On Mon, 6 Feb 2023 09:24:23 GMT, Prasanta Sadhukhan wrote: >> Spec for >> [MetalLookAndFeel](https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java#L247) >> says: >> "...MetalLookAndFeel registers an entry for each of the classes >

Re: RFR: 6513512: MetalLookAndFeel.initClassDefaults does not install an entry for MetalMenuBarUI [v5]

2023-02-06 Thread Prasanta Sadhukhan
> Spec for > [MetalLookAndFeel](https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java#L247) > says: > "...MetalLookAndFeel registers an entry for each of the classes > in the package javax.swing.plaf.metal that are named MetalXXXUI.