Make sure that you import the correct TableColumn
. In your case, this will be:
org.eclipse.swt.widgets.TableColumn
Also make sure that you don't import any other TableColumn
if you don't need it. A popular example would be:
javax.swing.table.TableColumn