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

Fix doc comment for Component.setBackground

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.3.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      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
           */

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: