The method createLineBorder(Color) used to return null. I fixed this by
forwarding it to createLineBorder(Color, int) with a thickness of 1.

2005-10-07  Roman Kennke  <[EMAIL PROTECTED]>

        * javax/swing/BorderFactory.java
        (createLineBorder(Color)): Forward call to
        createLineBorder(Color, int) with thickness of 1.


/Roman
Index: javax/swing/BorderFactory.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/BorderFactory.java,v
retrieving revision 1.12
diff -u -r1.12 BorderFactory.java
--- javax/swing/BorderFactory.java	26 Jul 2005 15:30:54 -0000	1.12
+++ javax/swing/BorderFactory.java	7 Oct 2005 10:25:29 -0000
@@ -71,7 +71,7 @@
    */
   public static Border createLineBorder(Color color)
   {
-    return null;
+    return createLineBorder(color, 1);
   }
 
   /**
_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to