[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: |
Wed, 12 Oct 2005 12:32:55 +0000 |
I investigated the JViewport stuff a little more and fixed the following
issues, which should bring JViewport a little closer to the reference
impl's behaviour:
2005-10-12 Roman Kennke <address@hidden>
* javax/swing/JViewport.java
(ViewListener.componentResized): Only call revalidate instead of
going through weird reverting code.
(JViewport): First call updateUI, then set layout.
(setViewPosition): Don't do anything if there is no real
change.
(setView): Don't remove the old component. This is handled by
addImpl. Call revalidate().
* javax/swing/ViewportLayout.java
(layoutContainer): Preferably set view size to it's preferredSize
instead of its minimumSize.
/Roman
Viewport.diff
Description: Text Data
- [cp-patches] FYI: Some JViewport fixes,
Roman Kennke <=