After I created a JTable with:
JTable MaTable =new JTable();
MaTable.setModel(new DefaultTableModel(new Object [N], new String ));
I wanted to add new columns to it, so I did this:
TableColumn Colonne = new TableColumn();
The operation did worked, even the new columns displayed correctly, but, when I set a value for one of the new cells, all the others (newly created) cells are modified!
It's like all new cells have the same index.
Did I miss something in my code that should correct the index? (if the problem is with the index).
I'm waiting for your precious help.