fromText = new Text(container, SWT.BORDER);
fromText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
}
public void createBodyTab(TabFolder tabFolder) {
final TabItem headersTabItem = new TabItem(tabFolder, SWT.NONE);
headersTabItem.setText("Body");
final Composite container = new Composite(tabFolder, SWT.NONE);
final GridLayout gridLayout = new GridLayout();
gridLayout.horizontalSpacing = 2;
container.setLayout(gridLayout);
headersTabItem.setControl(container);
// subject label and text field
final Label subjectLabel = new Label(container, SWT.NONE);
subjectLabel.setLayoutData(new GridData());
subjectLabel.setText("Subject");