1 package transex3.view; 2 3 import javax.swing.JTable; 4 5 class SdfTable extends JTable{ 6 //private String tableId; 7 public SdfTable( Object[][] obj1 , Object[] obj2){ 8 super(obj1,obj2); 9 } 10 //@Override 11 public boolean isCellEditable(int row, int col) { 12 if( row == 0 && col == 0 || row == 0 && col == 1 || row == 0 && col == 2 || row == 0 && col == 3 || row == 0 && col == 4 ) 13 return false; 14 else 15 return true; 16 } 17 /*public String getTableId() { 18 return tableId; 19 } 20 public void setTableId(String tableId) { 21 this.tableId = tableId; 22 }*/ 23 24 }