<Swing Dev> RFR: 8253266 : JList and JTable constructors should clear OPAQUE_SET before calling updateUI [v3]
Tejpal Rebari
trebari at openjdk.java.net
Mon Apr 5 07:36:35 UTC 2021
On Mon, 5 Apr 2021 07:08:32 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> No, it doesn't work, i have checked.
>> The change needs to be skin.laf file only.
>
> 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()
-------------
PR: https://git.openjdk.java.net/jdk/pull/3167
More information about the swing-dev
mailing list