classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: Scrolling fixes


From: Roman Kennke
Subject: [cp-patches] FYI: Scrolling fixes
Date: Fri, 30 Sep 2005 15:26:28 +0200 (CEST)
User-agent: SquirrelMail/1.4.4

This fixes some issues with the JScrollPane. It should now work reasonable
again.

2005-09-30  Roman Kennke  <address@hidden>

        * javax/swing/JTable.java
        (getScrollableUnitIncrement): Respect the direction argument.
        * javax/swing/plaf/basic/BasicScrollPaneUI.java
        (VSBChangeListener.stateChanged): Compare ypos with viewPosition.y
        instead of viewPosition.x.
        (ViewportChangeHandler.stateChanged): Call
        syncScrollPaneWithViewport in all cases, not only when the
        extents have changed.
        (syncScrollPaneWithViewport): Also sync the maximum and value
        properties of the scrollbar models with the viewport.


/Roman

Attachment: scrolling-fixes.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]