code: private void removeMapping() {
  		int[] indexes = mappingList.getSelectedIndices();
  		if (indexes == null) {
  			return;
  		}
  		int confirm = JOptionPane.showConfirmDialog(
  				this, 
  				"Proceed deleting " + indexes.length + " mappings?", "Conform",
  				JOptionPane.WARNING_MESSAGE, JOptionPane.YES_NO_OPTION);
  		if (confirm == JOptionPane.CANCEL_OPTION || confirm == JOptionPane.CLOSED_OPTION) {
  			return;
  		}
  		
  		// The manager panel can handle multiple deletions.
  		Object[] values = mappingList.getSelectedValues();
  
  		OBDAModel controller = apic;
  		URI srcuri = selectedSource.getSourceID();
  
  		for (int i = 0; i < values.length; i++) {
  			SQLPPTriplesMap mapping = (SQLPPTriplesMap) values[i];
  			if (mapping!=null)
  			controller.removeTriplesMap(srcuri, mapping.getId());
  		}
  		mappingList.clearSelection();
  	}
docs: GEN-LAST:event_removeMappingButtonActionPerformed