classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: Fix Component repaint


From: Roman Kennke
Subject: [cp-patches] FYI: Fix Component repaint
Date: Wed, 17 Aug 2005 10:57:15 +0200

I have added a check for isShowing() to each repaint() method and
forward the repaint request to the parent if the component is not
showing. This has been necessary because I have an app here that uses a
Component that overrides the repaint(long, int, int, int, int) method
and misbehaves because it calls repaint() on a Component that is not
currently showing.

2005-08-17  Roman Kennke  <address@hidden>

        * java/awt/Component.java
        This applies to various variants of the repaint() methods:
        (repaint): If the component is not showing, forward repaint
        request to the parent.

/Roman

Attachment: Component.diff
Description: Text Data


reply via email to

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