How do I disable the reodering of table columns in a JTable?
Created May 4, 2012
John Zukowski
This is an attribute of the table header (JTableHeader). You need to call setReoderingAllowed() with an argument of false. By default, this is enabled.
getTableHeader().setReorderingAllowed(false);