private void assertIsDispatchThread() {
    ApplicationEx application = ApplicationManagerEx.getApplicationEx();
    if (application != null) {
      application.assertIsDispatchThread(tabbedPane.getComponent());
    }
  }
private void assertIsDispatchThread()