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

unclear doc for JTree.DynamicUtilTreeNode.hasChildren

XMLWordPrintable

    • kestrel
    • sparc
    • solaris_2.5.1



      Name: sdC67446 Date: 04/27/99


      The doc for field:
        protected boolean hasChildren;
      of class javax.swing.JTree.DynamicUtilTreeNode is not clear.
      The doc says:

            protected boolean hasChildren
                Does the receiver have children?

      The ambiguity is in the word "children":
      does it mean that the field 'children' != null or
      the field 'childValue' != null?
      Anyway currently this field ('hasChildren') is always false.
      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: