harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r628018 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Component.java
Date Fri, 15 Feb 2008 11:25:06 GMT
Author: apetrenko
Date: Fri Feb 15 03:24:57 2008
New Revision: 628018

URL: http://svn.apache.org/viewvc?rev=628018&view=rev
Log:
Patch for HARMONY-5516 "[classlib][awt] Regression in 
Component.processPaintEvent method"

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Component.java

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Component.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Component.java?rev=628018&r1=628017&r2=628018&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Component.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Component.java
Fri Feb 15 03:24:57 2008
@@ -3706,8 +3706,10 @@
         if (g == null) {
             return;
         }
+
+        initGraphics(g, event);
+
         if (event.getID() == PaintEvent.PAINT) {
-            initGraphics(g, event);
             paint(g);
         } else {
             update(g);



Mime
View raw message