[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Some JViewport fixes
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: Some JViewport fixes |
Date: |
Tue, 18 Oct 2005 10:03:43 +0000 |
Hi,
This fixes some issues with JViewport.
2005-10-18 Roman Kennke <address@hidden>
* javax/swing/JViewport.java
(setView): Added repaint() call.
(revalidate): Removed unnecessary and unspecified method.
(reshape): Fire stateChanged if only the size changes. Do not fire
stateChanged if only the location changes.
(scrollRectToVisible): Reworked most of this method to correctly
determine the scroll offsets. Added validation of view as
specified.
/Roman
JViewport.diff
Description: Text Data