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

Fix doc comment for Component.setBackground

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P5 P5
    • None
    • 1.3.0
    • client-libs
    • generic
    • generic

      There is some extra (unneeded) text in the doc comment for setBackground
      in java/awt/Component.java

          /**
           * Sets the background color of this component.
           * @param c The color to become this component's color.
           * If this parameter is null then this component will inherit
           * the background color of its parent.
           * background color.
           * @see #getBackground
           * @since JDK1.0
           */

      Should be

          /**
           * Sets the background color of this component.
           * @param c The color to become this component's background color.
           * If this parameter is null then this component will inherit
           * the background color of its parent.
           * @see #getBackground
           * @since JDK1.0
           */

            ehawkessunw Eric Hawkes (Inactive)
            ehawkessunw Eric Hawkes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: