for (int i = 0; i < colCount; i++) {
ArrayColumn ac = (ArrayColumn)acm.getRealColumn(i);
TableCellEditor tce = ac.getCellEditor();
JComponent comp = (JComponent)tce.getTableCellEditorComponent(aContainer, null, true, -1, -1);
if (comp == null) { // then find the cell renderer
ArrayFieldCellRenderer afcr = (ArrayFieldCellRenderer) ac
.getCellRenderer();
comp = (JComponent) afcr.getTableCellRendererComponent(
aContainer, null, false, true, -1, -1);
comp = (JComponent) comp.getComponent(0);
String compName = (comp == null) ? "" : comp.getName();
if (compName.endsWith(pName)) {
return comp;