classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: MetalIconFactory.PaletteCloseIcon


From: David Gilbert
Subject: [cp-patches] FYI: MetalIconFactory.PaletteCloseIcon
Date: Wed, 14 Sep 2005 12:55:40 +0000
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050728)

This icon class should implement UIResource (as reported by japi), so I fixed it with this patch:

2005-09-14  David Gilbert  <address@hidden>

        * javax/swing/plaf/metal/MetalIconFactory.java
        (PaletteCloseIcon): now implements UIResource.

Regards,

Dave Gilbert
Index: javax/swing/plaf/metal/MetalIconFactory.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalIconFactory.java,v
retrieving revision 1.13
diff -u -r1.13 MetalIconFactory.java
--- javax/swing/plaf/metal/MetalIconFactory.java        12 Sep 2005 15:42:35 
-0000      1.13
+++ javax/swing/plaf/metal/MetalIconFactory.java        14 Sep 2005 11:51:41 
-0000
@@ -670,7 +670,8 @@
    * 
    * @since 1.3
    */
-  public static class PaletteCloseIcon implements Icon, Serializable 
+  public static class PaletteCloseIcon 
+    implements Icon, Serializable, UIResource
   {
     /**
      * Returns the width of the icon, in pixels.

reply via email to

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