private void init() {
setLayout(new GridBagLayout());
if (maxSelectableFiles > 1) {
tableModel = new SortablePdfSelectionTableModel(showedColums, maxSelectableFiles);
} else {
tableModel = new SimplePdfSelectionTableModel(showedColums, maxSelectableFiles);
}
mainTable.setModel(tableModel);
mainTable.setDragEnabled(true);