Hi there,

while debugging an application, I found out that Container.remove() must
not trigger a repaint(). I removed the repaint() call.

2006-01-09  Roman Kennke  <[EMAIL PROTECTED]>

        * java/awt/Container.java
        (remove): Don't repaint the container here.

/Roman
Index: java/awt/Container.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/awt/Container.java,v
retrieving revision 1.74
diff -u -r1.74 Container.java
--- java/awt/Container.java	14 Dec 2005 17:37:40 -0000	1.74
+++ java/awt/Container.java	9 Jan 2006 15:49:33 -0000
@@ -449,9 +449,6 @@
                                                    ContainerEvent.COMPONENT_REMOVED,
                                                    r);
             getToolkit().getSystemEventQueue().postEvent(ce);
-
-            // Repaint this container.
-            repaint();
           }
       }
   }
_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to