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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.0
    • 1.2.0
    • docs
    • 1.2fcs
    • generic
    • generic
    • Verified


      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: