+2004-04-17  Mark Wielaard  <mark@klomp.org>
+
+       * javax/swing/JToggleButton.java (ToggleButtonModel):
+       Make public static inner class.
+       * javax/swing/JTabbedPane.java (setComponentAt):
+       Call Page.setComponent().
+       (SCROLL_TAB_LAYOUT): Make public, value is 1.
+       (WRAP_TAB_LAYOUT): Make public, value is 0.
+       * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
+        Make private static inner class.
+
 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
 
        * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
 
   protected SingleSelectionModel model;
 
   /** Indicates that the TabbedPane is in scrolling mode. */
-  static int SCROLL_TAB_LAYOUT = 0;
+  public static int SCROLL_TAB_LAYOUT = 1;
 
   /** Indicates that the TabbedPane is in wrap mode. */
-  static int WRAP_TAB_LAYOUT = 1;
+  public static int WRAP_TAB_LAYOUT = 0;
 
   /** The current tabPlacement of the TabbedPane. */
   protected int tabPlacement = SwingConstants.TOP;
   public void setComponentAt(int index, Component component)
   {
     checkIndex(index, 0, tabs.size());
-    ((Page) tabs.elementAt(index)).setEnabled(enabled);
+    ((Page) tabs.elementAt(index)).setComponent(component);
   }
 
   /**
 
 /* JToggleButton.java -- 
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
 public class JToggleButton extends AbstractButton implements Accessible
 {
 
-  public class ToggleButtonModel extends DefaultButtonModel
+  public static class ToggleButtonModel extends DefaultButtonModel
   {
     public void setPressed(boolean b)  
     {
 
    * This is a helper class that implements UIResource so it is not added as a
    * tab when an object of this class is added to the JTabbedPane.
    */
-  private class ScrollingButton extends BasicArrowButton implements UIResource
+  private static class ScrollingButton extends BasicArrowButton
+    implements UIResource
   {
     /**
      * Creates a ScrollingButton given the direction.