public void fillTableWithCustomer(JTable tableAllTask) throws IOException, SQLException {
        DefaultTableModel modelTable = (DefaultTableModel) tableAllTask.getModel();
        modelTable.setRowCount(0);

        for (int i = 0; i < customerList.size(); i++) {
            Object[] data = {customerList.get(i).getCustomerID(),
                customerList.get(i).getCompanyName(),
                customerList.get(i).getPhone(),
                customerList.get(i).getCVR()};
            modelTable.addRow(data);
        }
    }