To make the JTable's cells not editable, you need to write your own model class which implements AbstractTableModel, then override the method isCellEditable(), always return false from that method.
...