Hey,
This patch fixes a couple of bugs in ScrollPane's getScrollPosition and
setScrollPosition methods:
- Both methods should throw a NPE if the scrollpane does have a child
(i.e. no componenent).
- In the setScrollPosition(int, int) method, we need to check that both
parameters are within the
Hey,
These fixes are minor and now pass failing Intel tests.
2006-10-13 Tania Bento <[EMAIL PROTECTED]>
* java/awt/ScrollPane.java
(addImpl): When calling super, index should be value passed,
not -1.
(getIsValidString): New helper method for paramString().