Hi All,
Please review the following fix for jdk16.

Bug : https://bugs.openjdk.java.net/browse/JDK-8041701 
<https://bugs.openjdk.java.net/browse/JDK-8041701>
Webrev : http://cr.openjdk.java.net/~trebari/swing/8041701/webrev00/ 
<http://cr.openjdk.java.net/~trebari/swing/8041701/webrev00/>

Issue : UI properties “Tree.leafIcon”, “Tree.closedIcon”, “Tree.openIcon”,
 “Tree.selectionForeground” ..etc are supposed to be instances of UIResource 
if they are defined by LAF. 

In Nimbus LAF all the above properties are defined , but none of them implement 
UIResource, this causes them to persists when LAF is changed.

Fix : Fix is to make NimbusLookAndFeel classes instance of UIResource,
which uses above mentioned UI Properties.

Test : Added an automated test.
Tested on all the three platforms. Mach5 link is in JBS.


Regards
Tejpal

Reply via email to