title: Java SWT: How to center content of a column in a Table?
body: <p>I need to center the content of the cells of the fourth column of my table, now they start on left.</p>
  
  <p>This is the table:</p>
  
  <pre><code>    Table membersTable = new Table(clubComposite, SWT.BORDER | SWT.CHECK | SWT.FULL_SELECTION);
      membersTable.setLinesVisible(true);
      membersTable.setHeaderVisible(true);
      membersTable.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
  
      TableColumn tblclmnName = new TableColumn(membersTable, SWT.NONE);
      tblclmnName.setWidth(150);
      tblclmnName.setText("Nombre");
  
      TableColumn tblclmnCommonPhoneNumber = new TableColumn(membersTable, SWT.NONE);
      tblclmnCommonPhoneNumber.setWidth(120);
      tblclmnCommonPhoneNumber.setText("Teléfono");
  
      TableColumn tblclmnCommonMoney = new TableColumn(membersTable, SWT.NONE);
      tblclmnCommonMoney.setWidth(150);
      tblclmnCommonMoney.setText("Participación Habitual");
  
      TableColumn tblclmnPayed = new TableColumn(membersTable, SWT.CENTER);
      tblclmnPayed.setWidth(50);
      tblclmnPayed.setText("Pagado"); 
  
      // populate Table
      for (int i=0; i&lt;50; i++) {
          TableItem tableItem = new TableItem(membersTable, SWT.CENTER);                  
          tableItem.setText(new String[] {"person "+i, "610610620", "100", ""});
          tableItem.setImage(3, uncheckedImage);
      }
  </code></pre>
  
  <p>I tried doing this:</p>
  
  <pre><code>TableColumn tblclmnPayed = new TableColumn(membersTable, SWT.CENTER);
  </code></pre>
  
  <p>But it seems that it only centers the title of the column, not it's content.</p>
  
  <p>It is possible to achieve my needs on Java SWT?</p>