Edit a register and give it an illegal value. Then, instead of pressing Enter, click on another cell in the same table. The cell does not turn red and instead the old value of the register is restored. If you click anywhere else in the window, the cell with the error turns red and latches onto the focus, as we want to happen. This is a property of TableCells. See its startEdit(), commitEdit(), and cancelEdit() methods.
Edit a register and give it an illegal value. Then, instead of pressing Enter, click on another cell in the same table. The cell does not turn red and instead the old value of the register is restored. If you click anywhere else in the window, the cell with the error turns red and latches onto the focus, as we want to happen. This is a property of TableCells. See its startEdit(), commitEdit(), and cancelEdit() methods.