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

Document DefaultTreeCellRenderer.getDefaultClosedIcon() null return value

    Details

      Description

      A DESCRIPTION OF THE PROBLEM :
      The DefaultTreeCellRenderer.getDefaultClosedIcon() method can return null on some platforms (see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6299154). The documentation should mention this possibility. The same goes for getClosedIcon(), getDefaultOpenIcon() and getOpenIcon().



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Mention that these methods can return null on some platforms.
      ACTUAL -
      Null return are not documented for these methods.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ndcosta Nelson Dcosta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: