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
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
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
>
> 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.