final Composite area = new Composite(parent, SWT.NULL); final GridLayout gridLayout = new GridLayout(); mTextWidget = new Text(area, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
This can be used to create a text widget and place it in the (Composite) area.
source share