String errorMessage = null; int newValue=0; Text src= (Text) e.widget; if (fTextOptions == null) return; for (int i=0; i < fTextOptions.length; i++) { int val=0; try
if (fTextOptions == null) return; Integer newValue = new Integer(0); Text source = (Text)e.widget; if (checkAllTextInputs(source))
			public void modifyText(ModifyEvent e)			{			String errorMessage = null;			int newValue=0;			Text src= (Text) e.widget;			if (fTextOptions == null) return;			for (int i=0; i < fTextOptions.length; i++)			{				int val=0;				try 				{					val = parseTextInput(fTextOptions[i].getText());					if (src == fTextOptions[i])						newValue = val;				} catch (NumberFormatException nex) {					errorMessage = new String("Error: " + fTextOptions[i].getText() + " is not valid number");				}				}			setErrorMessage(errorMessage);			if (errorMessage != null)			{				return;			}			ConfigurableOption option= retrieveOption(src);			option.setValueIndex(newValue);			updatePreview(fNewOptions);		}