Redo: Nimbus JTree renderer properties persist across L&F changes

    IssueFix VersionAssigneePriorityStatusResolutionResolved In Build
    JDK-827729417.0.3-oracle Alex KaskoP3ResolvedFixedb01
    JDK-827720617.0.2 Alex KaskoP3ResolvedFixedb05

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      The following UI properties, documented athttp://docs.oracle.com/javase/7/docs/api/javax/swing/tree/DefaultTreeCellRenderer.html, are supposed to be instances of UIResource if they are defined by the L&F:

      1. "Tree.leafIcon"
      2. "Tree.closedIcon"
      3. "Tree.openIcon"
      4. "Tree.selectionForeground"
      5. "Tree.textForeground"
      6. "Tree.selectionBackground"
      7. "Tree.textBackground"
      8. "Tree.selectionBorderColor"

      On the Nimbus L&F, all are defined, but none of them implement UIResource. This causes them to incorrectly persist across L&F changes.

        See also:
      http://bugs.sun.com/view_bug.do?bug_id=9008369
      http://bugs.sun.com/view_bug.do?bug_id=9008389


      REPRODUCIBILITY :
      This bug can be reproduced always.

        backported by

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8277206Redo: Nimbus JTree renderer properties persist across L&F changes

        • P3 - Major loss of function.
        • Resolved

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8277294Redo: Nimbus JTree renderer properties persist across L&F changes

        • P3 - Major loss of function.
        • Resolved
        clones

        Bug - A problem which impairs or prevents the functions of the product.JDK-8249674Redo: Nimbus JTree renderer properties persist across L&F changes

        • P3 - Major loss of function.
        • Resolved
        relates to

        Bug - A problem which impairs or prevents the functions of the product.JDK-8273043[TEST_BUG] Automate NimbusJTreeSelTextColor.java

        • P4 - Minor loss of function, or other problem where easy workaround is present.
        • Resolved

        Bug - A problem which impairs or prevents the functions of the product.JDK-8266510Nimbus JTree default tree cell renderer does not use selected text color

        • P3 - Major loss of function.
        • Resolved
        links to

        CommitCommitopenjdk/jdk17u/9ff9e62e

          CommitCommitopenjdk/jdk/e43a907f

            ReviewReviewopenjdk/jdk17u/240

              ReviewReviewopenjdk/jdk/5178

                (4 links to)