Bug 223823 ControlExample: Select Listeners dialog opens behind menu bar
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/Tab.java
textText.setLayoutData (new GridData (SWT.FILL, SWT.CENTER, true, false));
			textText.addModifyListener(new ModifyListener () {
				public void modifyText(ModifyEvent e) {
					String newValue = textText.getText();
					if (newValue.length() == 0) {
						setFieldsMask &= ~TEXT;
					} else {
						setFieldsEvent.type = eventType;
						setFieldsEvent.text = newValue;
						setFieldsMask |= TEXT;
					}
				}
			});
		}
		if ((fields & X) != 0) {
			new Label (group, SWT.NONE).setText ("x");	
			final Text xText = new Text (group, SWT.BORDER);
			if ((setFieldsMask & X) != 0) xText.setText(Integer.toString(setFieldsEvent.x));
			xText.setLayoutData (new GridData (SWT.FILL, SWT.CENTER, true, false));
			xText.addModifyListener(new ModifyListener () {
				public void modifyText(ModifyEvent e) {
					String newValue = xText.getText ();
					try {
						int newIntValue = Integer.parseInt (newValue);
						setFieldsEvent.type = eventType;
						setFieldsEvent.x = newIntValue;
						setFieldsMask |= X;
					} catch (NumberFormatException ex) {
						setFieldsMask &= ~X;
					}