public CreateTaskPanel(Controller ctrl) throws ClassNotFoundException, SQLException, IOException {
        initComponents();
        control = ctrl;

        DefaultListModel modelOnTask = new DefaultListModel();
        listUsersOnTask.setModel(modelOnTask);

        control.fillCombobox(comboBoxUser, Controller.userList);
        control.fillCombobox(comboBoxType, Controller.typeList);
        control.fillCombobox(comboBoxStatus, Controller.statusList);
        control.fillList(listUsers, Controller.userList);
        control.fillTableUsingTaskList(tableAllTask);
        control.removeTableHeadersTask(tableAllTask);
        control.removeFinshedTaskFilter(tableAllTask);
        try {
            dateChooserExpectedStart.setDate(control.getCurrentDate());
            dateChooserExpectedEnd.setDate(control.getCurrentDate());
        } catch (ParseException ex) {
            Logger.getLogger(CreateTaskPanel.class.getName()).log(Level.SEVERE, null, ex);
        }

    }