// This table colors elements depending on their owner
public Component prepareRenderer(TableCellRenderer renderer, int rowIndex, int vColIndex) {
Component c = super.prepareRenderer(renderer, rowIndex, vColIndex);
if (!isCellSelected(rowIndex, vColIndex) && colors) {
XMLElement el = (XMLElement) getValueAt(rowIndex, 0);
if (el instanceof XMLCollectionElement) {
XMLCollectionElement cel = (XMLCollectionElement) el;
XMLCollection celOwner = (XMLCollection) cel.getParent();
if (celOwner == null) {
c.setBackground(SPEC_EL_COLOR_BKG);