void (JComponent c) { if (tabPane.getLayout() instanceof WrappingLayout) { tabPane.setLayout(((WrappingLayout)tabPane.getLayout()).myDelegate); } super.uninstallUI(c); myHiddenArrowButtons = null; myShowHiddenTabsButton = null; }