colType.addListener(SWT.Resize,computeLastRowWidthListener);
colName.addListener(SWT.Resize,computeLastRowWidthListener);
activityTable.addListener(SWT.SetData, new Listener() {
public void handleEvent(Event event) {
TableItem item = (TableItem) event.item;
int index = activityTable.indexOf (item);
item.setText (0,MessageText.getString("DHTView.activity.status." + activities[index].isQueued()));
item.setText (1,MessageText.getString("DHTView.activity.type." + activities[index].getType()));
item.setText (2,ByteFormatter.nicePrint(activities[index].getTarget()));
item.setText (3,activities[index].getDescription());
}
});
}