harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r496328 - /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalLookAndFeel.java
Date Mon, 15 Jan 2007 14:26:27 GMT
Author: apetrenko
Date: Mon Jan 15 06:26:26 2007
New Revision: 496328

URL: http://svn.apache.org/viewvc?view=rev&rev=496328
Log:
Patch for HARMONY-3007 "[swing] method javax.swing.plaf.metal.MetalLookAndFeel.getCurrentTheme
is missing "

Modified:
    harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalLookAndFeel.java

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalLookAndFeel.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalLookAndFeel.java?view=diff&rev=496328&r1=496327&r2=496328
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalLookAndFeel.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalLookAndFeel.java
Mon Jan 15 06:26:26 2007
@@ -1168,7 +1168,7 @@
     public static ColorUIResource getControl() {
         return metalTheme.getControl();
     }
-
+    
     /**
      * Return black color
      * @return ColorUIResource color
@@ -1193,6 +1193,10 @@
         return metalTheme.getAcceleratorForeground();
     }
 
+    public static MetalTheme getCurrentTheme() {
+        return metalTheme;
+    }
+    
     /**
      * Return system text font active value
      * @return ActiveValue font



Mime
View raw message