fireTableRowsUpdated(event.getFirstRow(), event.getLastRow());
if (DetailledAdapter.this.regexpRequest == null) { fireTableRowsUpdated(event.getFirstRow(), event.getLastRow()); } else { ArrayList<WebFile> webFiles = ((DetailledModel)event.getSource()).getWebFiles(); for (int i=event.getFirstRow(); i<=event.getLastRow(); i++) { WebFile webTmp = webFiles.get(i); int n = matchedWebFiles.indexOf(webTmp); fireTableRowsUpdated(n, n); } }
	public DetailledAdapter(DetailledModel model, String regexpRequest) {		this.model = model;		this.regexpRequest = regexpRequest;		matchedWebFiles = new ArrayList<WebFile>();				//add a listener on the model		model.addTableModelListener(new TableModelListener() {			public void tableChanged(TableModelEvent event) {				switch (event.getType()){				case TableModelEvent.INSERT:					//add the datas in the list matchedWebFiles					if (DetailledAdapter.this.regexpRequest == "HTML" || DetailledAdapter.this.regexpRequest == "FILES") {						updateDataWithoutRegex(event.getFirstRow(), event.getLastRow(), DetailledAdapter.this.regexpRequest);					} else {						updateDataWithRegex(event.getFirstRow(), event.getLastRow(), DetailledAdapter.this.regexpRequest);					}					fireTableRowsInserted(event.getFirstRow(), event.getLastRow());					break;									case TableModelEvent.DELETE:										deleteAllData();					fireTableRowsDeleted(event.getFirstRow(), event.getLastRow());					break;									case TableModelEvent.UPDATE:					fireTableRowsUpdated(event.getFirstRow(), event.getLastRow());					break;									default:					//TODO: gerer ce cas						fireTableDataChanged();					break;				}			}		});				//adding the datas in the list matchedWebFiles		if (regexpRequest == "HTML" || regexpRequest == "FILES") {			updateDataWithoutRegex(0, this.model.getWebFiles().size()-1, regexpRequest);		} else {			updateDataWithRegex(0, this.model.getWebFiles().size()-1, regexpRequest);		}		fireTableRowsInserted(0, this.model.getWebFiles().size()-1);	}