classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] Minor JViewport fix


From: Anthony Balkissoon
Subject: [cp-patches] Minor JViewport fix
Date: Thu, 27 Oct 2005 13:23:07 -0400

The scrollRectToVisible method should have been using the Viewport
bounds instead of the View bounds when scrolling up and scrolling left.
This is now fixed.  Please let me know if there are any Swing apps that
seem to have issues with scrolling in JViewports/JScrollPanes.

2005-10-27  Anthony Balkissoon  <address@hidden>

        * javax/swing/JViewport.java:
        (scrollRectToVisible): Use the viewport bounds instead of the view 
        bounds when scrolling up and scrolling left.

--Tony

Attachment: JViewportScrollRectToVisibleFix.diff
Description: Text Data


reply via email to

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