Mega Code Archive

 
Categories / Java Tutorial / SWT
 

Tables

Tables are useful for handling tabular data. The org.eclipse.swt.widgets.Table class represents a table. The TableColumn class represents a column in a table The TableItem class represents a row in a table. To create a table, you follow these basic steps: Construct a Table instance and set its property. Define columns by using TableColumn objects. Add rows by creating TableItem objects.