Fixed the name of the inner class. DividerLayout should have been
MetalDividerLayout. 

2005-11-25  Lillian Angel  <[EMAIL PROTECTED]>

        * javax/swing/plaf/metal/MetalSplitPaneDivider.java
        (MetalDividerLayout): Fixed class name to MetalDividerLayout
        instead of DividerLayout.
        (MetalSplitPaneDivider): Fixed setLayout call.



On Thu, 2005-11-24 at 13:20 -0500, Lillian Angel wrote:
> Added code to actually paint the one touch buttons on the divider and
> implemented the missing class in MetalSplitPaneDivider.
> 
> 2005-11-24  Lillian Angel  <[EMAIL PROTECTED]>
> 
>         * javax/swing/plaf/basic/BasicArrowButton.java
>         (paint): Fixed locations, so button is drawn in proper place.
>         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
>         (paint): Added code to paint buttons.
>         * javax/swing/plaf/metal/MetalSplitPaneDivider.java:
>         Added new fields.
>         (MetalSplitPaneDivider): Initialized new fields, and set layout
>         to new inner class.
>         (paint): Added code to paint buttons.
>         (DividerLayout): New class implemented.
>         (DividerLayout.init): Implemented.
>         (DividerLayout.addLayoutComponent): Implemented.
>         (DividerLayout.layoutContainer): Implemented.
>         (DividerLayout.minimumLayoutSize): Implemented.
>         (DividerLayout.preferredLayoutSize): Implemented.
>         (DividerLayout.removeLayoutComponent): Implemented.
> 
> _______________________________________________
> Classpath-patches mailing list
> Classpath-patches@gnu.org
> http://lists.gnu.org/mailman/listinfo/classpath-patches
Index: javax/swing/plaf/metal/MetalSplitPaneDivider.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalSplitPaneDivider.java,v
retrieving revision 1.4
diff -u -r1.4 MetalSplitPaneDivider.java
--- javax/swing/plaf/metal/MetalSplitPaneDivider.java	24 Nov 2005 18:19:18 -0000	1.4
+++ javax/swing/plaf/metal/MetalSplitPaneDivider.java	25 Nov 2005 23:03:20 -0000
@@ -78,7 +78,7 @@
   public MetalSplitPaneDivider(MetalSplitPaneUI ui, Color light, Color dark)
   {
     super(ui);
-    setLayout(new DividerLayout());
+    setLayout(new MetalDividerLayout());
     this.splitPane = super.splitPane;
     this.orientation = super.orientation;
     this.light = light;
@@ -105,7 +105,7 @@
   /**
    * This helper class acts as the Layout Manager for the divider.
    */
-  protected class DividerLayout implements LayoutManager
+  protected class MetalDividerLayout implements LayoutManager
   {
     /** The right button. */
     BasicArrowButton rb;
@@ -116,7 +116,7 @@
     /**
      * Creates a new DividerLayout object.
      */
-    protected DividerLayout()
+    protected MetalDividerLayout()
     {
       // Nothing to do here
     }
_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to