public static JPanel createAddRemovePanel(final ListTable table, final @NlsContexts.Label String panelLabel, boolean removeHeader) {
    if (removeHeader) table.setTableHeader(null);
    final JPanel panel = createAddRemovePanel(table);
    return UI.PanelFactory.panel(panel).withLabel(panelLabel).moveLabelOnTop().resizeY(true).createPanel();
  }
public static JPanel createAddRemovePanel(final ListTable table, final @NlsContexts.Label String panelLabel, boolean removeHeader)