< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTabbedPaneUI.java

Print this page

        

@@ -2393,10 +2393,11 @@
                 total = calculateTabAreaWidth(tabPlacement, columns, maxTabWidth);
             }
             return total;
         }
 
+        @SuppressWarnings("deprecation")
         public void layoutContainer(Container parent) {
             /* Some of the code in this method deals with changing the
             * visibility of components to hide and show the contents for the
             * selected tab. This is older code that has since been duplicated
             * in JTabbedPane.fireStateChanged(), so as to allow visibility

@@ -2901,10 +2902,11 @@
 
         protected int preferredTabAreaWidth(int tabPlacement, int height) {
             return calculateMaxTabWidth(tabPlacement);
         }
 
+        @SuppressWarnings("deprecation")
         public void layoutContainer(Container parent) {
             /* Some of the code in this method deals with changing the
              * visibility of components to hide and show the contents for the
              * selected tab. This is older code that has since been duplicated
              * in JTabbedPane.fireStateChanged(), so as to allow visibility
< prev index next >