1 |
2005-10-27 Anthony Balkissoon <abalkiss@redhat.com> |
2005-10-27 Anthony Balkissoon <abalkiss@redhat.com> |
2 |
|
|
3 |
|
* javax/swing/ScrollPaneLayout.java: |
4 |
|
(preferredLayoutSize): Fixed the conditions for allocating space for |
5 |
|
the scrollbars. Should allocate space if the View's dimension is |
6 |
|
larger than the Viewport's dimension. This fixes the problem in |
7 |
|
comment 1) for PR 23530. |
8 |
|
|
9 |
|
2005-10-27 Anthony Balkissoon <abalkiss@redhat.com> |
10 |
|
|
11 |
* javax/swing/JViewport.java: |
* javax/swing/JViewport.java: |
12 |
(scrollRectToVisible): Use the viewport bounds instead of the view |
(scrollRectToVisible): Use the viewport bounds instead of the view |
13 |
bounds when scrolling up and scrolling left. |
bounds when scrolling up and scrolling left. |