Please review the following fix for JDK-18. This is revert of the fix for nimbus jtree renderer properties persist across L&F(https://bugs.openjdk.java.net/browse/JDK-8249674), This fixed caused nimbus jtree default tree cell renderer to not use the selected text color, which was white originally and changed to black after the fix. Reverted the change to match original behaviour.
Tested on MacOS , Windows and Linux. ------------- Commit messages: - intial fix Changes: https://git.openjdk.java.net/jdk/pull/4903/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4903&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8266510 Stats: 105 lines in 3 files changed: 0 ins; 100 del; 5 mod Patch: https://git.openjdk.java.net/jdk/pull/4903.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/4903/head:pull/4903 PR: https://git.openjdk.java.net/jdk/pull/4903