table.showItem(item); if (columnCount > 1) { table.showColumn(table.getColumn(column));
if (this.row != row) { item.addListener(SWT.Dispose, disposeItemListener); this.row = row; table.showItem(item); } if (this.column  != column) { this.column = column; if (columnCount > 0) { TableColumn col = table.getColumn(column); col.addListener(SWT.Dispose, disposeColumnListener); col.addListener(SWT.Move, resizeListener); col.addListener(SWT.Resize, resizeListener); table.showColumn(col); }
void setRowColumn(int row, int column, boolean notify) {	int itemCount = table.getItemCount();	int columnCount = table.getColumnCount();	if (0 <= row && row < itemCount) {		if (0 <= column && column < columnCount) {			this.row = row;			this.column = column;			TableItem item = table.getItem(row);			table.showItem(item);			if (columnCount > 1) {				table.showColumn(table.getColumn(column));			}			setBounds(item.getBounds(column));			redraw();			if (notify) {				notifyListeners(SWT.Selection, new Event());			}		}	}}