I am using SWT, I want to create a new control which will include a text(org.eclipse.swt.widgets.Text) and a button(org.eclipse.swt.widgets.Button),the text is on the left, and the button is on the right.

I spent lots of efforts to find an example, but I haven't found... Could anyone provide me a good example? Many thanks!