private void btnRemoveAssetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnRemoveAssetActionPerformed
        selectedAsset = (Asset)listAssetList.getSelectedValue();
         if(selectedElement !=null && selectedProject !=null && selectedAsset !=null)
        {
            deleteAsset(selectedAsset);
            fillInAssetOnElementsList(selectedElement.getElementID());
        }
        listAssetList.repaint();
        listOfTasks.clear();
        listTasksList.repaint(); 
    }//GEN-LAST:event_btnRemoveAssetActionPerformed