* @param employees Die Liste an Mitarbeitern.
*/
public SelectFilteredQueryDialog(FilteredQuerySelection filteredSelection, Logic logic, List<Employee> employees) {
initComponents();
this.filteredSelection = filteredSelection;
SimpleSelectEmployeeModel ssem = new SimpleSelectEmployeeModel(employees);
tblEmployees.setModel(ssem);
tblEmployees.setRowSorter(ssem.getRowSorter());
getRootPane().registerKeyboardAction(ProgressUtils.getButtonClickListener(btnCancel), ProgressUtils.escStroke, JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
getRootPane().registerKeyboardAction(ProgressUtils.getButtonClickListener(btnSelect), ProgressUtils.submitStroke, JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
GuiUtils.centerOnScreen(this);
}