void (TableModelEvent e) { if (e.getType() == TableModelEvent.INSERT) { myTable.getModel().removeTableModelListener(this); final TableColumnAnimator animator = new TableColumnAnimator(myTable); animator.setStep(20); animator.addColumn(defaultValue, myTable.getWidth() / 2); animator.startAndDoWhenDone(() -> myTable.editCellAt(myTable.getRowCount() - 1, 0)); animator.start(); } }