Shell shell= new Shell(display); shell.setActive(); shell.setSize(300, 200); shell.setLayout(new FillLayout()); Text text= new Text(shell, SWT.MULTI | SWT.LEFT | SWT.WRAP);
fShell= new Shell(display); fShell.setActive(); fShell.setSize(300, 200); fShell.setText("Keyboard Probe"); fShell.setLayout(new FillLayout()); Text text= new Text(fShell, SWT.MULTI | SWT.LEFT | SWT.WRAP);
	private Text createControl(Display display) {		Shell shell= new Shell(display);		shell.setActive();		shell.setSize(300, 200);		shell.setLayout(new FillLayout());		Text text= new Text(shell, SWT.MULTI | SWT.LEFT | SWT.WRAP);		text.setSize(300, 200);		shell.setVisible(true);		addListeners(text);				text.setFocus();		return text;	}