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

javadoc for getPathBounds() in TreeUI and BasicTreeUI is incorrect

    XMLWordPrintable

Details

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

    Description

      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").

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: