public final synchronized void addTab(@TabTitle String title, @Nullable JComponent component) {
    if (component == null) {
      LOG.error("Unable to insert a tab without component: " + title);
    }
    else {
      insertTab(title, null, component, null, tabbedPane.getTabCount());
    }
  }
public final synchronized void addTab(@TabTitle String title, @Nullable JComponent component)