<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 06:52:30 UTC 2021


On Mon, 5 Apr 2021 05:19:06 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Tejpal Rebari has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix for JTree JTooltip and JViewport keeping default opaque value same, modified the test
>
> src/java.desktop/share/classes/javax/swing/plaf/nimbus/skin.laf line 27251:
> 
>> (failed to retrieve contents of file, check the PR for context)
> In my opinion, instead of changing skin.laf we probably should update SynthToolTipUI.installDefaults() and add 
> `LookAndFeel.installProperty(c, "opaque", Boolean.TRUE);`
> 
> similar to what we do for BasicToolTipUI.installDefaults. Will it not work?

No, it doesn't work, i have checked.
The change needs to be skin.laf file only.

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

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


More information about the swing-dev mailing list