I have a one column JTable
to which I set a custom TableCellRenderer
that return a custom JPanel
in its getTableCellRendererComponen
Why do you need your cell selection in your editor ?
isent it enough that you know row and column you are currently editing ?
if yes then just set them where you set your editor value
@Override
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
renderer.setComp((Comp) value, row, column );
return renderer;
}