jboss-reddeer/reddeer — pull request #134 by jpeterka (2013-04-25 07:27:44+00:00)
Title: Wrong Text is chosen by it's index

If i instantiate Text given by its index I think that wrong text is chosen.

I tried this case:

```java
public class MavenPreferencesDialog extends PreferencePage{

public MavenPreferencesDialog(){
super("Maven","User Settings");
}

public void setUserSettings(String pathToSettings){
Text text = new DefaultText(1);
System.out.println(text.getText());
}

}
```

The default value of this Text button is your maven settings (userhome/.m2/settings.xml). Test will not fail but result is strange - the text's text is null - this means that some other Text widget is chosen. I'm 100% sure that a while ago this worked correctly. Maybe some small mistake was created in WidgetLookup ?