harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r598203 - /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComponent.java
Date Mon, 26 Nov 2007 10:16:13 GMT
Author: tellison
Date: Mon Nov 26 02:16:12 2007
New Revision: 598203

URL: http://svn.apache.org/viewvc?rev=598203&view=rev
Log:
Apply patch for HARMONY-5186 ([classlib][awt] Graphics.clearRect method works incorrectly)

Modified:
    harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComponent.java

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComponent.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComponent.java?rev=598203&r1=598202&r2=598203&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComponent.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JComponent.java
Mon Nov 26 02:16:12 2007
@@ -1085,6 +1085,7 @@
         }
         result.setFont(getFont());
         result.setColor(getForeground());
+        ((Graphics2D) result).setBackground(getBackground());
         return result;
     }
 



Mime
View raw message