Source:
<code>ExportFormsTableView(ExportFormsTableViewModel model) { super(model); setName("forms"); addMouseListener(new MouseAdapterBuilder().onClick(this::relayClickToButton).build()); <START> Dimension formNameDims = TableCustomizer.getHeaderDimension(HEADERS[FORM_NAME_COL], this); <END> Dimension exportStatusDims = TableCustomizer.getHeaderDimension(HEADERS[EXPORT_STATUS_COL], this); Dimension lastExportDims = TableCustomizer.getHeaderDimension(HEADERS[LAST_EXPORT_COL], this); TableCustomizer.customizeHeader(getTableHeader()); TableCustomizer.customizeTable(this); TableColumnModel columns = getColumnModel(); columns.getColumn(SELECTED_CHECKBOX_COL).setMinWidth(40); columns.getColumn(SELECTED_CHECKBOX_COL).setMaxWidth(40); columns.getColumn(SELECTED_CHECKBOX_COL).setPreferredWidth(40); columns.getColumn(OVERRIDE_CONF_COL).setCellRenderer(UI::cellWithButton); columns.getColumn(OVERRIDE_CONF_COL).setMinWidth(40); columns.getColumn(OVERRIDE_CONF_COL).setMaxWidth(40); columns.getColumn(OVERRIDE_CONF_COL).setPreferredWidth(40); columns.getColumn(FORM_NAME_COL).setMinWidth(formNameDims.width + 25); columns.getColumn(FORM_NAME_COL).setPreferredWidth(formNameDims.width + 25); columns.getColumn(EXPORT_STATUS_COL).setMinWidth(exportStatusDims.width + 25); columns.getColumn(EXPORT_STATUS_COL).setPreferredWidth(exportStatusDims.width + 25); columns.getColumn(LAST_EXPORT_COL).setMinWidth(lastExportDims.width + 25); columns.getColumn(LAST_EXPORT_COL).setPreferredWidth(lastExportDims.width + 25); columns.getColumn(DETAIL_BUTTON_COL).setCellRenderer(UI::cellWithButton); columns.getColumn(DETAIL_BUTTON_COL).setMinWidth(40); columns.getColumn(DETAIL_BUTTON_COL).setMaxWidth(40); columns.getColumn(DETAIL_BUTTON_COL).setPreferredWidth(40); setFillsViewportHeight(true); TableRowSorter<ExportFormsTableViewModel> sorter = sortBy(getModel(), FORM_NAME_COL, ASCENDING); setRowSorter(sorter); sorter.sort(); }</code><technical_language>suggest adding a static import of methods in TableCustomizer code verbose</technical_language>

Target:
ExportFormsTableView(ExportFormsTableViewModel model) { super(model); setName("forms"); addMouseListener(new MouseAdapterBuilder().onClick(this::relayClickToButton).build()); Dimension formNameDims = getHeaderDimension(this, HEADERS[FORM_NAME_COL]); Dimension exportStatusDims = getHeaderDimension(this, HEADERS[EXPORT_STATUS_COL]); Dimension lastExportDims = getHeaderDimension(this, HEADERS[LAST_EXPORT_COL]); customizeHeader(getTableHeader()); customizeTable(this); TableColumnModel columns = getColumnModel(); columns.getColumn(SELECTED_CHECKBOX_COL).setMinWidth(40); columns.getColumn(SELECTED_CHECKBOX_COL).setMaxWidth(40); columns.getColumn(SELECTED_CHECKBOX_COL).setPreferredWidth(40); columns.getColumn(OVERRIDE_CONF_COL).setCellRenderer(UI::cellWithButton); columns.getColumn(OVERRIDE_CONF_COL).setMinWidth(40); columns.getColumn(OVERRIDE_CONF_COL).setMaxWidth(40); columns.getColumn(OVERRIDE_CONF_COL).setPreferredWidth(40); columns.getColumn(FORM_NAME_COL).setMinWidth(formNameDims.width + 25); columns.getColumn(FORM_NAME_COL).setPreferredWidth(formNameDims.width + 25); columns.getColumn(EXPORT_STATUS_COL).setMinWidth(exportStatusDims.width + 25); columns.getColumn(EXPORT_STATUS_COL).setPreferredWidth(exportStatusDims.width + 25); columns.getColumn(LAST_EXPORT_COL).setMinWidth(lastExportDims.width + 25); columns.getColumn(LAST_EXPORT_COL).setPreferredWidth(lastExportDims.width + 25); columns.getColumn(DETAIL_BUTTON_COL).setCellRenderer(UI::cellWithButton); columns.getColumn(DETAIL_BUTTON_COL).setMinWidth(40); columns.getColumn(DETAIL_BUTTON_COL).setMaxWidth(40); columns.getColumn(DETAIL_BUTTON_COL).setPreferredWidth(40); setFillsViewportHeight(true); TableRowSorter<ExportFormsTableViewModel> sorter = sortBy(getModel(), FORM_NAME_COL, ASCENDING); setRowSorter(sorter); sorter.sort(); }