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

AWT TextArea spec does not specify scrollbar visiblity if inv. value is supplied

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: docs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.2fcs
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description


      The TextArea spec does not define the scrollbar visibility of the
      textarea created by the constructor TextArea(String,int,int,int) if an
      invalid value is supplied for the scrollbar visibility parameter.

      The attached application creates a textarea as follows:
        textarea = new TextArea("A TextArea",6,80,100);
      100 is not a valid value for the scrollbar visibility parameter.

      If JKD1.1.5 is used, the textarea is created with both vertical and
      horizontal scrollbars on Solaris, and with no scrollbars on Windows NT.

      If JKD1.2 is used, the textarea is created with both vertical and
      horizontal scrollbars on Solaris, and with only a horizontal scrollbar
      on Windows NT.


      The scrollbar visibility of TextArea in this situation should be
      clearly defined in the spec.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              asommere Alan Sommerer (Inactive)
              Reporter:
              gaurisha Gauri Sharma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: