public void lockAllComponetsInTaskHandling(JTextField textFieldTaskName, JTextArea textAreaDescription, JTextField textFieldCustomer, JTextField textFieldTime, JComboBox comboBoxPriority, JComboBox comboBoxProjectLeader, JComboBox comboBoxStatus, JComboBox comboBoxType, JDateChooser dateChooserStart, JDateChooser dateChooserEnd, JButton buttonFindCustomer, JButton buttonGetCustomerID, JButton buttonAddUserToList, JButton buttonRemoveUserFromList, JButton buttonSaveChangesToTask) {
        textFieldTaskName.setEnabled(false);
        textAreaDescription.setEnabled(false);
        textFieldCustomer.setEnabled(false);
        textFieldTime.setEnabled(false);
        comboBoxPriority.setEnabled(false);
        comboBoxProjectLeader.setEnabled(false);
        comboBoxStatus.setEnabled(false);
        comboBoxType.setEnabled(false);
        dateChooserEnd.setEnabled(false);
        dateChooserStart.setEnabled(false);
        buttonAddUserToList.setEnabled(false);
        buttonFindCustomer.setEnabled(false);
        buttonGetCustomerID.setEnabled(false);
        buttonRemoveUserFromList.setEnabled(false);
        buttonSaveChangesToTask.setEnabled(false);

    }