database.addDatabaseChangeListener(eventList);
groupFilterList = new FilterList<BibtexEntry>(eventList.getTheList(), NoSearchMatcher.INSTANCE);
searchFilterList = new FilterList<BibtexEntry>(groupFilterList, NoSearchMatcher.INSTANCE);
//final SortedList sortedList = new SortedList(searchFilterList, null);
tableFormat = new MainTableFormat(this);
tableFormat.updateTableFormat();
//EventTableModel tableModel = new EventTableModel(sortedList, tableFormat);
mainTable = new MainTable(tableFormat, searchFilterList, frame, this);
selectionListener = new MainTableSelectionListener(this, mainTable);