-
Bug
-
Resolution: Fixed
-
P2
-
1.1
-
1.1fcs
-
generic, sparc
-
solaris_2.5, solaris_10
-
Not verified
* setScrollPosition() raises IllegalArgumentException if the position
is not within range. A better behavior would be to quietly limit the
values. There are two reasons. 1) if you want the exception you can
test for it yourself. 2) if you don't want the exception you can
avoid writing the limiting code yourself by letting the method do it
for you. Now, you're forcing me to duplicate the same limit code
that's in the method.
is not within range. A better behavior would be to quietly limit the
values. There are two reasons. 1) if you want the exception you can
test for it yourself. 2) if you don't want the exception you can
avoid writing the limiting code yourself by letting the method do it
for you. Now, you're forcing me to duplicate the same limit code
that's in the method.
- duplicates
-
JDK-4025285 Scrollpane spews out error messages
- Closed