I\'m subclassing JTable and using a DefaultTableModel to model my table data. The following class sets up the JTable, and adds one row to the model.
import
It is necessary to add isCellEditable method to your table model class with return false.
isCellEditable
@Override public boolean isCellEditable(int row, int column) { return false; }