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

Incorrect documentation of Scrollbar.java

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      generic
    • OS:
      generic

      Description

          /**
           * The value of the Scrollbar.
           * value should be either greater than <code>minimum</code>
           * or less that <code>maximum</code>
           *
           * @serial
           * @see getValue()
           * @see setValue()
           */
          int value;

      The section above should read:
           * value must be greater than or equal to <code>minimum</code>
           * and less than or equal to
           * <code>maximum</code> - <code>visibleAmount</code>



          /**
           * The minimum value of the Scrollbar.
           * This value must be greater than the <code>minimum</code>
           * value.<br>
           * This integer can be either positive or negative.
           *
           * @serial
           * @see getMinimum()
           * @see setMinimum()
           */
          int minimum;

      The section above should read:
           * This value must be less than or equal to
           * <code>maximum</code> - <code>visibleAmount</code>.
           * This integer can be either positive or negative.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: