[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: RFR: 6513512: MetalLookAndFeel.initClassDefaults does not install an entry for MetalMenuBarUI [v
From:       Prasanta Sadhukhan <psadhukhan () openjdk ! org>
Date:       2022-12-29 6:22:03
Message-ID: LoISd4AszvmCZ3lgjRlA7IMmMrIBC5AjNKeuog7Jlf8=.a2cc6f69-c685-4664-9a21-b65c692b5a19 () github ! com
[Download RAW message or body]

On Thu, 22 Dec 2022 22:29:05 GMT, Sergey Bylokhov <serb@openjdk.org> wrote:

> > Prasanta Sadhukhan has updated the pull request incrementally with two additional \
> > commits since the last revision: 
> > - Spec update
> > - Spec update
> 
> src/java.desktop/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java line \
> 255: 
> > 253:      * "MetalColorChooserUI"}, as such, {@code
> > 254:      * javax.swing.plaf.basic.BasicColorChooserUI} is used.
> > 255:      * Also, class {@code MetalMenuBarUI} is used only for {@code \
> > OceanTheme}
> 
> Maybe we can make it more generic, like some classes could be used only by some \
> themes and registered only if that theme is "active", for example {@code \
> MetalMenuBarUI} .... etc

ok..we can do that...modified...

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

PR: https://git.openjdk.org/jdk/pull/11646


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic