--- old/src/java.desktop/share/classes/javax/swing/JTabbedPane.java 2014-12-09 10:07:03.097095437 -0800 +++ new/src/java.desktop/share/classes/javax/swing/JTabbedPane.java 2014-12-09 10:07:02.937095430 -0800 @@ -333,6 +333,7 @@ * @see #addChangeListener * @see EventListenerList */ + @SuppressWarnings("deprecation") protected void fireStateChanged() { /* --- Begin code to deal with visibility --- */ @@ -949,6 +950,7 @@ * @see #addTab * @see #insertTab */ + @SuppressWarnings("deprecation") public void removeTabAt(int index) { checkIndex(index); @@ -1557,6 +1559,7 @@ * attribute: visualUpdate true * description: The component at the specified tab index. */ + @SuppressWarnings("deprecation") public void setComponentAt(int index, Component component) { Page page = pages.get(index); if (component != page.component) {