I am trying to create a two-column-table with checkboxes in both of them I have created a table with the following snippet:
Table table = new Table(parent, SWT.CHECK | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
TableColumn tableColumn = new TableColumn(table, SWT.NONE);
tableColumn.setWidth(300);
tableColumn.setText("Check Column1");
TableColumn tableColumn1 = new TableColumn(table, SWT.NONE);
tableColumn1.setWidth(300);
tableColumn1.setText("Check Column2");
TableItem tableItem=new TableItem(table,SWT.NONE);
Image image=getImage(imagePath);
tableItem.setImage(0, image);
what I am getting is the first column the checkbox was created but not in the second one Do you know why?