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

JavaDoc for borderSelectionColor property incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0
    • client-libs
    • beta2
    • generic
    • generic



      Name: yyT116575 Date: 05/17/2001


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)


      In DefaultTreeCellRenderer.java (javax.swing.tree package),
      the member variable 'borderSelectionColor' has incorrect JavaDoc.
      It currently states:

          /** Color to use for the background when the node isn't selected. */
          protected Color borderSelectionColor;

      This is obviously not the case (looks like it was copied-and-pasted
      from the prior variable).

      Look at the JavaDoc for setBorderSelectionColor, which correctly
      describes what borderSelectionColor should be.
      (Review ID: 124521)
      ======================================================================

            svioletsunw Scott Violet (Inactive)
            yyoungsunw Yung-ching Young (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: