JPanel (final ListTable table) { final JPanel panel = ToolbarDecorator.createDecorator(table) .setToolbarPosition(ActionToolbarPosition.LEFT) .setAddAction(new AnActionButtonRunnable() { @Override public void run(AnActionButton button) { final ListWrappingTableModel tableModel = table.getModel(); tableModel.addRow(); EventQueue.invokeLater(() -> { final int lastRowIndex = tableModel.getRowCount() - 1; editTableCell(table, lastRowIndex, 0); }); } }) .setRemoveAction(button -> TableUtil.removeSelectedItems(table)) .disableUpDownActions().createPanel(); panel.setMinimumSize(InspectionOptionsPanel.getMinimumListSize()); return panel; }