--- /home/cpdev/src/classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java	2005-07-02 21:04:08.000000000 +0000
+++ javax/swing/plaf/basic/BasicTabbedPaneUI.java	2005-06-30 05:35:19.000000000 +0000
@@ -83,10 +83,6 @@
 {
   /**
    * A helper class that handles focus.
-   *
-   * @specnote Apparently this class was intended to be protected,
-   *           but was made public by a compiler bug and is now
-   *           public for compatibility.
    */
   public class FocusHandler extends FocusAdapter
   {
@@ -115,10 +111,6 @@
    * A helper class for determining if mouse presses occur inside tabs and
    * sets the index appropriately. In SCROLL_TAB_MODE, this class also
    * handles the mouse clicks on the scrolling buttons.
-   *
-   * @specnote Apparently this class was intended to be protected,
-   *           but was made public by a compiler bug and is now
-   *           public for compatibility.
    */
   public class MouseHandler extends MouseAdapter
   {
@@ -181,10 +173,6 @@
 
   /**
    * This class handles PropertyChangeEvents fired from the JTabbedPane.
-   *
-   * @specnote Apparently this class was intended to be protected,
-   *           but was made public by a compiler bug and is now
-   *           public for compatibility.
    */
   public class PropertyChangeHandler implements PropertyChangeListener
   {
@@ -217,12 +205,8 @@
    * A LayoutManager responsible for placing all the tabs and the visible
    * component inside the JTabbedPane. This class is only used for
    * WRAP_TAB_LAYOUT.
-   *
-   * @specnote Apparently this class was intended to be protected,
-   *           but was made public by a compiler bug and is now
-   *           public for compatibility.
    */
-  public class TabbedPaneLayout implements LayoutManager
+  protected class TabbedPaneLayout implements LayoutManager
   {
     /**
      * This method is called when a component is added to the JTabbedPane.
@@ -1117,10 +1101,6 @@
 
   /**
    * This class handles ChangeEvents from the JTabbedPane.
-   *
-   * @specnote Apparently this class was intended to be protected,
-   *           but was made public by a compiler bug and is now
-   *           public for compatibility.
    */
   public class TabSelectionHandler implements ChangeListener
   {
@@ -1541,7 +1521,7 @@
     tabPane.setFont(defaults.getFont("TabbedPane.font"));
     tabPane.setForeground(defaults.getColor("TabbedPane.foreground"));
     tabPane.setBackground(defaults.getColor("TabbedPane.background"));
-    tabPane.setOpaque(false);
+    tabPane.setOpaque(true);
 
     highlight = defaults.getColor("TabbedPane.highlight");
     lightHighlight = defaults.getColor("TabbedPane.lightHighlight");
