-
Bug
-
Resolution: Fixed
-
P4
-
1.1.2, 1.2.0
-
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
- duplicates
-
JDK-4084682 TextArea(String, int, int, int) does not validate scroll bar visiblity value
-
- Closed
-
- relates to
-
JDK-4114017 AWT TextArea spec does not specify scrollbar visiblity if inv. value is supplied
-
- Closed
-