classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: MetalBorders.ToolBarBorder


From: David Gilbert
Subject: [cp-patches] FYI: MetalBorders.ToolBarBorder
Date: Wed, 28 Sep 2005 11:02:04 +0000
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050728)

I committed this patch - the latest japi report shows that the new ToolBarBorder should implement SwingConstants:

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

        * javax/swing/plaf/metal/MetalBorders.java
        (ToolBarBorder): now implements SwingConstants.

Regards,

Dave
Index: javax/swing/plaf/metal/MetalBorders.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalBorders.java,v
retrieving revision 1.22
diff -u -r1.22 MetalBorders.java
--- javax/swing/plaf/metal/MetalBorders.java    27 Sep 2005 21:51:49 -0000      
1.22
+++ javax/swing/plaf/metal/MetalBorders.java    28 Sep 2005 09:55:27 -0000
@@ -53,6 +53,7 @@
 import javax.swing.JTextField;
 import javax.swing.JToggleButton;
 import javax.swing.JToolBar;
+import javax.swing.SwingConstants;
 import javax.swing.UIDefaults;
 import javax.swing.UIManager;
 import javax.swing.border.AbstractBorder;
@@ -1190,7 +1191,7 @@
    * A border used when painting address@hidden JToolBar} instances.
    */
   public static class ToolBarBorder extends AbstractBorder
-    implements UIResource
+    implements UIResource, SwingConstants
   {
     /**
      * Creates a new border instance.

reply via email to

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