classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] FYI: Metal button fixes


From: David Gilbert
Subject: Re: [cp-patches] FYI: Metal button fixes
Date: Wed, 16 Nov 2005 21:13:50 +0000
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051026)

Roman Kennke wrote:

This also introduces a missing method in MetalLookAndFeel. Strange that
nobody noticed that before ;-)

Index: javax/swing/plaf/metal/MetalLookAndFeel.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalLookAndFeel.java,v
retrieving revision 1.70
diff -u -r1.70 MetalLookAndFeel.java
--- javax/swing/plaf/metal/MetalLookAndFeel.java        16 Nov 2005 15:43:34 
-0000      1.70
+++ javax/swing/plaf/metal/MetalLookAndFeel.java        16 Nov 2005 20:31:28 
-0000
@@ -1202,4 +1202,13 @@
    defaults.putDefaults(uiDefaults);
  }

+  /**
+   * Returns the current theme setting for the Metal L&F.
+   *
+   * @return the current theme setting for the Metal L&F
+   */
+  public static MetalTheme getCurrentTheme()
+  {
+    return theme;
+  }
}

This should have an @since 1.5 on it.

Regards,

Dave




reply via email to

[Prev in Thread] Current Thread [Next in Thread]