Spurious calls to setValueAt with JTables in Java 7 on OS X Lion?
After upgrading to Lion, and Java 7, I am running into issues with JTables. When I use arrow keys to move the selection around, its calling setValueAt() with empty strings as the edit value. To test this, I created a simple JFrame with a table in it, and set the following class as its model. public class SpyModel extends AbstractTableModel { public int getColumnCount() { return 5; } public int getRowCount() { return 5; } public Object getValueAt(int rowIndex, int columnIndex) { return ""; } public boolean isCellEditable(int rowIndex, int columnIndex) { return true; } public void setValueAt