@Override
    public void uninstallUI(JComponent c) {
      if (tabPane.getLayout() instanceof ServiceViewDetailsTabbedPaneLayout &&
          myOriginalLayout != null) {
        tabPane.setLayout(myOriginalLayout);
      }
      super.uninstallUI(c);
      myToolbarWrapper = null;
      myOriginalLayout = null;
    }
@Override
    public void uninstallUI(JComponent c)