<Swing Dev> RFR: 8253266 : JList and JTable constructors should clear OPAQUE_SET before calling updateUI [v3]
Sergey Bylokhov
serb at openjdk.java.net
Mon Apr 5 07:53:30 UTC 2021
On Mon, 5 Apr 2021 07:33:16 GMT, Tejpal Rebari <trebari at openjdk.org> wrote:
>> I am not sure where you placed the code. I think it's need to be added after updateStyle() as updateStyle() uninstall the default and install for new style.
>> protected void installDefaults(JComponent c) {
>> updateStyle(c);
>> }
>
> yeah setting the property after updateStyle(c) works fine.
> updating the change in the SynthToolTipUI.installDefaults()
What is the difference from setting it via "skin.laf"? The "skin.laf" is converted to the NimbusDefaults during the build and these defaults are used by the NimbusLookAndFeel.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3167
More information about the swing-dev
mailing list