private void btnAddAssetToTheListActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAddAssetToTheListActionPerformed
        selectedAsset = (Asset) listAssetsList.getSelectedValue();
        boolean exists=false; // check if asset id exists (can't check for object because of different hash code)
        if(selectedAsset != null){
            for (Asset asset: selectedAssets){ 
                    if(asset.getAssetID() == selectedAsset.getAssetID())
                        exists = true;
                }

                if(!exists){
                    selectedAssets.add(selectedAsset);
                    fillInSelectedAssets(selectedAssets);
                }
       }
    }//GEN-LAST:event_btnAddAssetToTheListActionPerformed