harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r616275 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Component.java
Date Tue, 29 Jan 2008 12:04:18 GMT
Author: apetrenko
Date: Tue Jan 29 04:04:12 2008
New Revision: 616275

URL: http://svn.apache.org/viewvc?rev=616275&view=rev
Log:
Patch for HARMONY-5428 "[classlib][awt][appletviewer] 
Component.createGraphics() returns Graphics with null font in any 
cases."

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=616275&r1=616274&r2=616275&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
Tue Jan 29 04:04:12 2008
@@ -1888,7 +1888,7 @@
                 ((Graphics2D)g).setBackground(this.getBackground());
             }
             g.setColor(foreColor);
-            g.setFont(font);
+            g.setFont(getFont());
             return g;
         } finally {
             toolkit.unlockAWT();



Mime
View raw message