TableGUIMediator tmed) {
super(model);
med = tmed;
setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
setDropTarget(new DropTarget(this, new TableDropAdapter(av, edit)));
getTableHeader().setReorderingAllowed(false);
ListSelectionModel lsm = this.getSelectionModel();
lsm.addListSelectionListener(new TableSelectionListener(med));
}