Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8047749

javadoc for getPathBounds() in TreeUI and BasicTreeUI is incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 9
    • client-libs

      The javadoc descriptions for javax.swing.plaf.TreeUI.getPathBounds() and javax.swing.plaf.basic.BasicTreeUI.getPathBounds() have stated it returns null "if any component in path is currently valid". The getPathBounds() in BasicTreeUI returns null if tree or treeState is null. It probably should read "if any component in path is currently *invalid*" (or "hidden").

            psadhukhan Prasanta Sadhukhan
            ssides Steve Sides
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: