[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Component fixes
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: Component fixes |
Date: |
Thu, 17 Nov 2005 20:41:49 +0000 |
Here comes some fixes for java.awt.Component. This removes the
forwarding-to-parent in the repaint calls in the case the component is
not showing. This is not needed and actually causes a bug in an
application we have here, that overrides repaint() in an unusual way.
The reasoning behind the old implementation probably was that a parent
must be repainted when a child is removed (so, not showing anymore).
however, this is performed in Container somewhere.
2005-11-17 Roman Kennke <address@hidden>
Reported by Roman Schnider <address@hidden>:
* java/awt/Component.java
(reshape): Removed unused statement.
(repaint()): Don't forward to parent when not showing.
(repaint(int)): Don't forward to parent when not showing.
(repaint(int,int,int,int)): Don't forward to parent when not
showing.
(repaint(float,int,int,int,int)): Don't forward to parent when
not
showing.
/Roman
patch.diff
Description: Text Data
- [cp-patches] FYI: Component fixes,
Roman Kennke <=