--- old/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTabbedPaneUI.java 2014-12-09 10:07:10.733095775 -0800 +++ new/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTabbedPaneUI.java 2014-12-09 10:07:10.569095768 -0800 @@ -2395,6 +2395,7 @@ 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 @@ -2903,6 +2904,7 @@ 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