private void btnRemoveTaskFromProjectActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnRemoveTaskFromProjectActionPerformed
        selectedTask = (Task)listTasksList.getSelectedValue();
         if(selectedTask !=null && selectedElement !=null && selectedProject !=null && selectedAsset !=null)
        {
            deleteTask(selectedTask);
            fillInTaskOnAssetList(selectedAsset);
        }
        listTasksList.repaint(); 
    }//GEN-LAST:event_btnRemoveTaskFromProjectActionPerformed