<Swing Dev> RFR: 8253266 : JList and JTable constructors should clear OPAQUE_SET before calling updateUI [v2]
Tejpal Rebari
trebari at openjdk.java.net
Fri Apr 2 05:04:27 UTC 2021
On Thu, 1 Apr 2021 14:43:36 GMT, Tejpal Rebari <trebari at openjdk.org> wrote:
>> Please wait for the @prsadhuk approval as well.
>
> I have fixed the issue with JTree, JTooltip and JViewport same way.
> While fixing for JTooltip discovered that default value for JToolTip opaque property for Nimbus LookAndFeel is set to false in the skin.laf file. This value was never taken into account because the setOpaque(true) from the JTooltip was overriding this.
> As we are now removing it from the constructor of JTooptip, NimbusLAF is setting to the false.
> To keep the behaviour same as before i have set it to true for NimbusLAF.
>
> Also modified the test to check for JTooltip , JTree and JViewport.
Internal testing looks good, link is in JBS
-------------
PR: https://git.openjdk.java.net/jdk/pull/3167
More information about the swing-dev
mailing list