tabPane.layout();
  public void installUI(JComponent c)  {    super.installUI(c);    if (c instanceof JTabbedPane)      {        tabPane = (JTabbedPane) c;                installComponents();        installDefaults();        installListeners();        installKeyboardActions();                layoutManager = createLayoutManager();        tabPane.setLayout(layoutManager);        tabPane.layout();      }  }