<Swing Dev> RFR: 8253266 : JList and JTable constructors should clear OPAQUE_SET before calling updateUI [v3]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Mon Apr 5 07:58:46 UTC 2021


On Mon, 5 Apr 2021 07:50:25 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

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

I personally feel setting in code will be easier to maintain going forward than to go through property file settings.

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

PR: https://git.openjdk.java.net/jdk/pull/3167


More information about the swing-dev mailing list