TableColumn tc = mainTableColModel.getColumn(AbstractPdfSelectionTableModel.ROW_NUM);
tc.setPreferredWidth(25);
tc.setMaxWidth(35);
// header tooltip
JPdfSelectionToolTipHeader toolTipHeader = new JPdfSelectionToolTipHeader(mainTableColModel);
toolTipHeader.setReorderingAllowed(false);
toolTipHeader.setToolTips(tableModel.getToolTips());
mainTable.setTableHeader(toolTipHeader);
if (maxSelectableFiles > 1) {
toolTipHeader.setDefaultRenderer(new ArrowHeaderRenderer(tableModel, toolTipHeader.getDefaultRenderer()));
toolTipHeader.addMouseListener(new PdfSelectionMouseHeaderAdapter(tableModel));
}
tableScrollPane = new JScrollPane(mainTable);
tableScrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);