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

Win32: textarea scrollbar policy does not match spec

XMLWordPrintable

    • 1.2fcs
    • x86
    • solaris_2.6, windows_95
    • Not verified


      The problem is with java.awt.TextArea.TextArea(String text, int rows, int columns, int scrollbars):

      > > >Our JDK 1.1.x and 1.2 Solaris reference implementations do default
      > > >to SCROLLBARS_BOTH if an invalid scrollbars parameter is given, but
      > > >neither of our Windows implementations do. Gauri says that, for
      > > >an invalid scrollbars argument, no scrollbars are visible on our
      > > >JDK 1.1.5 implementation on NT, and only a horizontal scrollbar
      > > >is visible on our JDK 1.2 implementation on NT. (Gauri's test app
      > > >is attached.)

      Gauri is Gauri.Sharma@Eng

      The spec (javadoc) was ambiguous, but now reads:


           * Any other value for the
           * <code>scrollbars</code> argument is invalid and will result in
           * this text area being created with scrollbar visibility equal to
           * the default value of {@link #SCROLLBARS_BOTH}.


      jeff.dunn@Eng 1998-07-20

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: