code: public static void addTo(
          JTabbedPane tabbedPane, String title, JComponent component)
      {
          addTo(tabbedPane, title, component, false);
      }
docs: Adds a {@link CloseableTab} with the given title and component to
  the given tabbed pane.
  
  @param tabbedPane The tabbed pane
  @param title The title of the tab
  @param component The component in the tab