@Override
      public Component getTableCellEditorComponent(JTable table1, Object value, boolean isSelected, int row, int column) {
        component.setText((String)data[row][column]);
        return component;
      }
@Override
      public Component getTableCellEditorComponent(JTable table1, Object value, boolean isSelected, int row, int column)