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

Win32: textarea scrollbar policy does not match spec

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.1.2, 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.2fcs
    • CPU:
      x86
    • OS:
      solaris_2.6, windows_95
    • Verification:
      Not verified

      Description


      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: