classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: fixlet for BasicSplitPaneUI


From: Roman Kennke
Subject: [cp-patches] FYI: fixlet for BasicSplitPaneUI
Date: Fri, 10 Jun 2005 15:00:54 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

In BasicSplitPaneUI have been some rather stupid statements, probably something that was left from some debugging session. The correct stuff was commented out. I reverted this. This also closes fixes bug #13320

2005-06-10  Roman Kennke  <address@hidden>

   * javax/swing/plaf/basic/BasicSplitPaneUI.java
   (BasicHorizontalLayoutManager.preferredLayoutSize): fixed return
   statement.
   (BasicVerticalLayoutManager.preferredLayoutSize): Likewise.

/Roman

Index: javax/swing/plaf/basic/BasicSplitPaneUI.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicSplitPaneUI.java,v
retrieving revision 1.10
diff -u -r1.10 BasicSplitPaneUI.java
--- javax/swing/plaf/basic/BasicSplitPaneUI.java        8 Jun 2005 13:39:45 
-0000       1.10
+++ javax/swing/plaf/basic/BasicSplitPaneUI.java        10 Jun 2005 12:52:56 
-0000
@@ -348,7 +348,7 @@
                    height = Math.max(height, dims.height);
                }
            }
-         return new Dimension(500, 500); //width, height);
+         return new Dimension(width, height);
         }
       return null;
     }
@@ -613,7 +613,7 @@
                  width = Math.max(width, dims.width);
                }
            }
-         return new Dimension(500, 500); //width, height);
+         return new Dimension(width, height);
         }
       return null;
     }

reply via email to

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