[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Fixed ScrollPaneLayout
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: Fixed ScrollPaneLayout |
Date: |
Wed, 12 Oct 2005 14:35:43 +0000 |
The ScrollPaneLayout implementation has been wrong in several places.
First, the minimum/preferredLayoutSize methods actually modified the
layout, which is not allowed and can have severe performance impact and
malfunction. Second, the layoutContainer method could not properly
determine when the scrollbars should be visible or not. This has lead to
ugly flickers.
2005-10-12 Roman Kennke <address@hidden>
* javax/swing/ScrollPaneLayout.java
(preferredLayoutSize): Reworked. The old impl used to actually
modify the layout, which is not allowed.
(minimumLayoutSize): Reworked. The old impl used to actually
modify the layout, which is not allowed.
(layoutContainer): Reworked. The old impl did not properly
determine
when the scrollbars should be visible and when not.
/Roman
ScrollPaneLayout.diff
Description: Text Data
- [cp-patches] FYI: Fixed ScrollPaneLayout,
Roman Kennke <=