JPanel (final ListTable table, @NlsContexts.Label final 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(); }